Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "SKKKZjyCpBaDQ7yuFjdk6ELnRBRWeZsbnzUfo59Wc4PGhgf92chE3we/QlT6nk6NqlWcUgH/jogM+B/uq/Qdnw==",
|
||||
"source": "/mnt/e/dev/git.stella-ops.org/local-nugets"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.Extensions.Logging.Abstractions</id>
|
||||
<version>10.0.0-rc.2.25502.107</version>
|
||||
<authors>Microsoft</authors>
|
||||
<license type="expression">MIT</license>
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<icon>Icon.png</icon>
|
||||
<readme>PACKAGE.md</readme>
|
||||
<projectUrl>https://dot.net/</projectUrl>
|
||||
<description>Logging abstractions for Microsoft.Extensions.Logging.
|
||||
|
||||
Commonly Used Types:
|
||||
Microsoft.Extensions.Logging.ILogger
|
||||
Microsoft.Extensions.Logging.ILoggerFactory
|
||||
Microsoft.Extensions.Logging.ILogger<TCategoryName>
|
||||
Microsoft.Extensions.Logging.LogLevel
|
||||
Microsoft.Extensions.Logging.Logger<T>
|
||||
Microsoft.Extensions.Logging.LoggerMessage
|
||||
Microsoft.Extensions.Logging.Abstractions.NullLogger</description>
|
||||
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<serviceable>true</serviceable>
|
||||
<repository type="git" url="https://github.com/dotnet/dotnet" commit="89c8f6a112d37d2ea8b77821e56d170a1bccdc5a" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework4.6.2">
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Buffers" version="4.6.1" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Memory" version="4.6.3" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net8.0">
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net9.0">
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net10.0">
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Diagnostics.DiagnosticSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Buffers" version="4.6.1" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Memory" version="4.6.3" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -0,0 +1,164 @@
|
||||
## About
|
||||
|
||||
<!-- A description of the package and where one can find more documentation -->
|
||||
|
||||
`Microsoft.Extensions.Logging.Abstractions` provides abstractions of logging. Interfaces defined in this package are implemented by classes in [Microsoft.Extensions.Logging](https://www.nuget.org/packages/Microsoft.Extensions.Logging/) and other logging packages.
|
||||
|
||||
This package includes a logging source generator that produces highly efficient and optimized code for logging message methods.
|
||||
|
||||
## Key Features
|
||||
|
||||
<!-- The key features of this package -->
|
||||
|
||||
* Define main logging abstraction interfaces like ILogger, ILoggerFactory, ILoggerProvider, etc.
|
||||
|
||||
## How to Use
|
||||
|
||||
<!-- A compelling example on how to use this package with code, as well as any specific guidelines for when to use the package -->
|
||||
|
||||
#### Custom logger provider implementation example
|
||||
|
||||
```C#
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
public sealed class ColorConsoleLogger : ILogger
|
||||
{
|
||||
private readonly string _name;
|
||||
private readonly Func<ColorConsoleLoggerConfiguration> _getCurrentConfig;
|
||||
|
||||
public ColorConsoleLogger(
|
||||
string name,
|
||||
Func<ColorConsoleLoggerConfiguration> getCurrentConfig) =>
|
||||
(_name, _getCurrentConfig) = (name, getCurrentConfig);
|
||||
|
||||
public IDisposable? BeginScope<TState>(TState state) where TState : notnull => default!;
|
||||
|
||||
public bool IsEnabled(LogLevel logLevel) =>
|
||||
_getCurrentConfig().LogLevelToColorMap.ContainsKey(logLevel);
|
||||
|
||||
public void Log<TState>(
|
||||
LogLevel logLevel,
|
||||
EventId eventId,
|
||||
TState state,
|
||||
Exception? exception,
|
||||
Func<TState, Exception?, string> formatter)
|
||||
{
|
||||
if (!IsEnabled(logLevel))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
ColorConsoleLoggerConfiguration config = _getCurrentConfig();
|
||||
if (config.EventId == 0 || config.EventId == eventId.Id)
|
||||
{
|
||||
ConsoleColor originalColor = Console.ForegroundColor;
|
||||
|
||||
Console.ForegroundColor = config.LogLevelToColorMap[logLevel];
|
||||
Console.WriteLine($"[{eventId.Id,2}: {logLevel,-12}]");
|
||||
|
||||
Console.ForegroundColor = originalColor;
|
||||
Console.Write($" {_name} - ");
|
||||
|
||||
Console.ForegroundColor = config.LogLevelToColorMap[logLevel];
|
||||
Console.Write($"{formatter(state, exception)}");
|
||||
|
||||
Console.ForegroundColor = originalColor;
|
||||
Console.WriteLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
#### Create logs
|
||||
|
||||
```csharp
|
||||
|
||||
// Worker class that uses logger implementation of teh interface ILogger<T>
|
||||
|
||||
public sealed class Worker : BackgroundService
|
||||
{
|
||||
private readonly ILogger<Worker> _logger;
|
||||
|
||||
public Worker(ILogger<Worker> logger) =>
|
||||
_logger = logger;
|
||||
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
while (!stoppingToken.IsCancellationRequested)
|
||||
{
|
||||
_logger.LogInformation("Worker running at: {time}", DateTimeOffset.UtcNow);
|
||||
await Task.Delay(1_000, stoppingToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
#### Use source generator
|
||||
|
||||
```csharp
|
||||
public static partial class Log
|
||||
{
|
||||
[LoggerMessage(
|
||||
EventId = 0,
|
||||
Level = LogLevel.Critical,
|
||||
Message = "Could not open socket to `{hostName}`")]
|
||||
public static partial void CouldNotOpenSocket(this ILogger logger, string hostName);
|
||||
}
|
||||
|
||||
public partial class InstanceLoggingExample
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public InstanceLoggingExample(ILogger logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
[LoggerMessage(
|
||||
EventId = 0,
|
||||
Level = LogLevel.Critical,
|
||||
Message = "Could not open socket to `{hostName}`")]
|
||||
public partial void CouldNotOpenSocket(string hostName);
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Main Types
|
||||
|
||||
<!-- The main types provided in this library -->
|
||||
|
||||
The main types provided by this library are:
|
||||
|
||||
* `Microsoft.Extensions.Logging.ILogger`
|
||||
* `Microsoft.Extensions.Logging.ILoggerProvider`
|
||||
* `Microsoft.Extensions.Logging.ILoggerFactory`
|
||||
* `Microsoft.Extensions.Logging.ILogger<TCategoryName>`
|
||||
* `Microsoft.Extensions.Logging.LogLevel`
|
||||
* `Microsoft.Extensions.Logging.Logger<T>`
|
||||
* `Microsoft.Extensions.Logging.LoggerMessage`
|
||||
* `Microsoft.Extensions.Logging.Abstractions.NullLogger`
|
||||
|
||||
## Additional Documentation
|
||||
|
||||
<!-- Links to further documentation. Remove conceptual documentation if not available for the library. -->
|
||||
|
||||
* [Conceptual documentation](https://learn.microsoft.com/dotnet/core/extensions/logging)
|
||||
* [API documentation](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging)
|
||||
|
||||
## Related Packages
|
||||
|
||||
<!-- The related packages associated with this package -->
|
||||
[Microsoft.Extensions.Logging](https://www.nuget.org/packages/Microsoft.Extensions.Logging)
|
||||
[Microsoft.Extensions.Logging.Console](https://www.nuget.org/packages/Microsoft.Extensions.Logging.Console)
|
||||
[Microsoft.Extensions.Logging.Debug](https://www.nuget.org/packages/Microsoft.Extensions.Logging.Debug)
|
||||
[Microsoft.Extensions.Logging.EventSource](https://www.nuget.org/packages/Microsoft.Extensions.Logging.EventSource)
|
||||
[Microsoft.Extensions.Logging.EventLog](https://www.nuget.org/packages/Microsoft.Extensions.Logging.EventLog)
|
||||
[Microsoft.Extensions.Logging.TraceSource](https://www.nuget.org/packages/Microsoft.Extensions.Logging.TraceSource)
|
||||
|
||||
## Feedback & Contributing
|
||||
|
||||
<!-- How to provide feedback on this package and contribute to it -->
|
||||
|
||||
Microsoft.Extensions.Logging.Abstractions is released as open source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime).
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_Microsoft_Extensions_Logging_Abstractions_net462">
|
||||
<Target Name="NETStandardCompatError_Microsoft_Extensions_Logging_Abstractions_net462"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="Microsoft.Extensions.Logging.Abstractions 10.0.0-rc.2.25502.107 doesn't support $(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to net462 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,31 @@
|
||||
<Project>
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<ItemGroup>
|
||||
<_Microsoft_Extensions_Logging_AbstractionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Logging.Abstractions'" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsAnalyzerMultiTargeting"
|
||||
Condition="'$(SupportsRoslynComponentVersioning)' != 'true'"
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Remove our analyzers targeting roslyn4.x -->
|
||||
<Analyzer Remove="@(_Microsoft_Extensions_Logging_AbstractionsAnalyzer)"
|
||||
Condition="$([System.String]::Copy('%(_Microsoft_Extensions_Logging_AbstractionsAnalyzer.Identity)').IndexOf('roslyn4')) >= 0"/>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsRemoveAnalyzers"
|
||||
Condition="'$(DisableMicrosoftExtensionsLoggingSourceGenerator)' == 'true'"
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<!-- Remove all our analyzers -->
|
||||
<ItemGroup>
|
||||
<Analyzer Remove="@(_Microsoft_Extensions_Logging_AbstractionsAnalyzer)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,31 @@
|
||||
<Project>
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<ItemGroup>
|
||||
<_Microsoft_Extensions_Logging_AbstractionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Logging.Abstractions'" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsAnalyzerMultiTargeting"
|
||||
Condition="'$(SupportsRoslynComponentVersioning)' != 'true'"
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Remove our analyzers targeting roslyn4.x -->
|
||||
<Analyzer Remove="@(_Microsoft_Extensions_Logging_AbstractionsAnalyzer)"
|
||||
Condition="$([System.String]::Copy('%(_Microsoft_Extensions_Logging_AbstractionsAnalyzer.Identity)').IndexOf('roslyn4')) >= 0"/>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsRemoveAnalyzers"
|
||||
Condition="'$(DisableMicrosoftExtensionsLoggingSourceGenerator)' == 'true'"
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<!-- Remove all our analyzers -->
|
||||
<ItemGroup>
|
||||
<Analyzer Remove="@(_Microsoft_Extensions_Logging_AbstractionsAnalyzer)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_Microsoft_Extensions_Logging_Abstractions_net8_0">
|
||||
<Target Name="NETStandardCompatError_Microsoft_Extensions_Logging_Abstractions_net8_0"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="Microsoft.Extensions.Logging.Abstractions 10.0.0-rc.2.25502.107 doesn't support $(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,31 @@
|
||||
<Project>
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<ItemGroup>
|
||||
<_Microsoft_Extensions_Logging_AbstractionsAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Logging.Abstractions'" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsAnalyzerMultiTargeting"
|
||||
Condition="'$(SupportsRoslynComponentVersioning)' != 'true'"
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Remove our analyzers targeting roslyn4.x -->
|
||||
<Analyzer Remove="@(_Microsoft_Extensions_Logging_AbstractionsAnalyzer)"
|
||||
Condition="$([System.String]::Copy('%(_Microsoft_Extensions_Logging_AbstractionsAnalyzer.Identity)').IndexOf('roslyn4')) >= 0"/>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_Microsoft_Extensions_Logging_AbstractionsRemoveAnalyzers"
|
||||
Condition="'$(DisableMicrosoftExtensionsLoggingSourceGenerator)' == 'true'"
|
||||
AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"
|
||||
DependsOnTargets="_Microsoft_Extensions_Logging_AbstractionsGatherAnalyzers">
|
||||
|
||||
<!-- Remove all our analyzers -->
|
||||
<ItemGroup>
|
||||
<Analyzer Remove="@(_Microsoft_Extensions_Logging_AbstractionsAnalyzer)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1 @@
|
||||
8wOAZBRCLvGAN7zEzMiMYm8g8gs52/k12nbUsGj+X5YpLDYNDrLucmvyFe37kgB03TWKKolQZTNWMWqUZL/Epg==
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==",
|
||||
"source": "https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.Extensions.Logging.Abstractions</id>
|
||||
<version>2.0.0</version>
|
||||
<authors>Microsoft</authors>
|
||||
<owners>Microsoft</owners>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<licenseUrl>https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt</licenseUrl>
|
||||
<projectUrl>https://asp.net/</projectUrl>
|
||||
<iconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
|
||||
<description>Logging abstractions for Microsoft.Extensions.Logging.
|
||||
Commonly used types:
|
||||
Microsoft.Extensions.Logging.ILogger
|
||||
Microsoft.Extensions.Logging.ILoggerFactory
|
||||
Microsoft.Extensions.Logging.ILogger<TCategoryName>
|
||||
Microsoft.Extensions.Logging.LogLevel
|
||||
Microsoft.Extensions.Logging.Logger<T>
|
||||
Microsoft.Extensions.Logging.LoggerMessage
|
||||
Microsoft.Extensions.Logging.Abstractions.NullLogger</description>
|
||||
<copyright>Copyright © Microsoft Corporation</copyright>
|
||||
<tags>logging</tags>
|
||||
<serviceable>true</serviceable>
|
||||
<repository type="git" url="https://github.com/aspnet/Logging" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -0,0 +1,596 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.Logging.Abstractions</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.Logging.ILogger">
|
||||
<summary>
|
||||
Represents a type used to perform logging.
|
||||
</summary>
|
||||
<remarks>Aggregates most logging patterns to a single method.</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ILogger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
|
||||
<summary>
|
||||
Writes a log entry.
|
||||
</summary>
|
||||
<param name="logLevel">Entry will be written on this level.</param>
|
||||
<param name="eventId">Id of the event.</param>
|
||||
<param name="state">The entry to be written. Can be also an object.</param>
|
||||
<param name="exception">The exception related to this entry.</param>
|
||||
<param name="formatter">Function to create a <c>string</c> message of the <paramref name="state"/> and <paramref name="exception"/>.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ILogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
|
||||
<summary>
|
||||
Checks if the given <paramref name="logLevel"/> is enabled.
|
||||
</summary>
|
||||
<param name="logLevel">level to be checked.</param>
|
||||
<returns><c>true</c> if enabled.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ILogger.BeginScope``1(``0)">
|
||||
<summary>
|
||||
Begins a logical operation scope.
|
||||
</summary>
|
||||
<param name="state">The identifier for the scope.</param>
|
||||
<returns>An IDisposable that ends the logical operation scope on dispose.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ILoggerFactory">
|
||||
<summary>
|
||||
Represents a type used to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from
|
||||
the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>s.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ILoggerFactory.CreateLogger(System.String)">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance.
|
||||
</summary>
|
||||
<param name="categoryName">The category name for messages produced by the logger.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ILoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
|
||||
<summary>
|
||||
Adds an <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> to the logging system.
|
||||
</summary>
|
||||
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ILogger`1">
|
||||
<summary>
|
||||
A generic interface for logging where the category name is derived from the specified
|
||||
<typeparamref name="TCategoryName"/> type name.
|
||||
Generally used to enable activation of a named <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from dependency injection.
|
||||
</summary>
|
||||
<typeparam name="TCategoryName">The type who's name is used for the logger category name.</typeparam>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.ILoggerProvider">
|
||||
<summary>
|
||||
Represents a type that can create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.ILoggerProvider.CreateLogger(System.String)">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance.
|
||||
</summary>
|
||||
<param name="categoryName">The category name for messages produced by the logger.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Internal.FormattedLogValues">
|
||||
<summary>
|
||||
LogValues to enable formatting options supported by <see cref="M:string.Format"/>.
|
||||
This also enables using {NamedformatItem} in the format string.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Internal.LogValuesFormatter">
|
||||
<summary>
|
||||
Formatter to convert the named format items like {NamedformatItem} to <see cref="M:string.Format"/> format.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Abstractions.Internal.NullScope">
|
||||
<summary>
|
||||
An empty scope without any logic
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.Internal.NullScope.Dispose">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLogger">
|
||||
<summary>
|
||||
Minimalistic logger that does nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger.BeginScope``1(``0)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory">
|
||||
<summary>
|
||||
An <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> used to create instance of
|
||||
<see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger"/> that logs nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory.CreateLogger(System.String)">
|
||||
<inheritdoc />
|
||||
<remarks>
|
||||
This returns a <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger"/> instance which logs nothing.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
|
||||
<inheritdoc />
|
||||
<remarks>
|
||||
This method ignores the parameter and does nothing.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLogger`1">
|
||||
<summary>
|
||||
Minimalistic logger that does nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger`1.BeginScope``1(``0)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger`1.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
|
||||
<inheritdoc />
|
||||
<remarks>
|
||||
This method ignores the parameters and does nothing.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger`1.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider">
|
||||
<summary>
|
||||
Provider for the <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider.CreateLogger(System.String)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider.Dispose">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Logging.Abstractions.Resource.UnexpectedNumberOfNamedParameters">
|
||||
<summary>
|
||||
The format string '{0}' does not have the expected number of named parameters. Expected {1} parameter(s) but found {2} parameter(s).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Abstractions.Resource.FormatUnexpectedNumberOfNamedParameters(System.Object,System.Object,System.Object)">
|
||||
<summary>
|
||||
The format string '{0}' does not have the expected number of named parameters. Expected {1} parameter(s) but found {2} parameter(s).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerExtensions">
|
||||
<summary>
|
||||
ILogger extension methods for common scenarios.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a debug log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a debug log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a debug log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a debug log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a trace log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a trace log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a trace log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a trace log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an informational log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an informational log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an informational log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an informational log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a warning log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a warning log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a warning log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a warning log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an error log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an error log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an error log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes an error log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a critical log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a critical log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="eventId">The event id associated with the log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a critical log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="exception">The exception to log.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats and writes a critical log message.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
|
||||
<param name="message">Format string of the log message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.BeginScope(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
|
||||
<summary>
|
||||
Formats the message and creates a scope.
|
||||
</summary>
|
||||
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to create the scope in.</param>
|
||||
<param name="messageFormat">Format string of the scope message.</param>
|
||||
<param name="args">An object array that contains zero or more objects to format.</param>
|
||||
<returns>A disposable scope object. Can be null.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerFactoryExtensions">
|
||||
<summary>
|
||||
ILoggerFactory extension methods for common scenarios.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactoryExtensions.CreateLogger``1(Microsoft.Extensions.Logging.ILoggerFactory)">
|
||||
<summary>
|
||||
Creates a new ILogger instance using the full name of the given type.
|
||||
</summary>
|
||||
<typeparam name="T">The type.</typeparam>
|
||||
<param name="factory">The factory.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerFactoryExtensions.CreateLogger(Microsoft.Extensions.Logging.ILoggerFactory,System.Type)">
|
||||
<summary>
|
||||
Creates a new ILogger instance using the full name of the given type.
|
||||
</summary>
|
||||
<param name="factory">The factory.</param>
|
||||
<param name="type">The type.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LoggerMessage">
|
||||
<summary>
|
||||
Creates delegates which can be later cached to log messages in a performant way.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope(System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked to create a log scope.
|
||||
</summary>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log scope.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope``1(System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked to create a log scope.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log scope.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope``2(System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked to create a log scope.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log scope.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope``3(System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked to create a log scope.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log scope.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``2(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``3(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``4(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T4">The type of the fourth parameter passed to the named format string.</typeparam>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``5(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T4">The type of the fourth parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T5">The type of the fifth parameter passed to the named format string.</typeparam>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``6(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
|
||||
<summary>
|
||||
Creates a delegate which can be invoked for logging a message.
|
||||
</summary>
|
||||
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T4">The type of the fourth parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T5">The type of the fifth parameter passed to the named format string.</typeparam>
|
||||
<typeparam name="T6">The type of the sixth parameter passed to the named format string.</typeparam>
|
||||
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
|
||||
<param name="eventId">The event id</param>
|
||||
<param name="formatString">The named format string</param>
|
||||
<returns>A delegate which when invoked creates a log message.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.Logger`1">
|
||||
<summary>
|
||||
Delegates to a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance using the full name of the given type, created by the
|
||||
provided <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/>.
|
||||
</summary>
|
||||
<typeparam name="T">The type.</typeparam>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Logging.Logger`1.#ctor(Microsoft.Extensions.Logging.ILoggerFactory)">
|
||||
<summary>
|
||||
Creates a new <see cref="T:Microsoft.Extensions.Logging.Logger`1"/>.
|
||||
</summary>
|
||||
<param name="factory">The factory.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Logging.LogLevel">
|
||||
<summary>
|
||||
Defines logging severity levels.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.Trace">
|
||||
<summary>
|
||||
Logs that contain the most detailed messages. These messages may contain sensitive application data.
|
||||
These messages are disabled by default and should never be enabled in a production environment.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.Debug">
|
||||
<summary>
|
||||
Logs that are used for interactive investigation during development. These logs should primarily contain
|
||||
information useful for debugging and have no long-term value.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.Information">
|
||||
<summary>
|
||||
Logs that track the general flow of the application. These logs should have long-term value.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.Warning">
|
||||
<summary>
|
||||
Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the
|
||||
application execution to stop.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.Error">
|
||||
<summary>
|
||||
Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a
|
||||
failure in the current activity, not an application-wide failure.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.Critical">
|
||||
<summary>
|
||||
Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires
|
||||
immediate attention.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Logging.LogLevel.None">
|
||||
<summary>
|
||||
Not used for writing log messages. Specifies that a logging category should not write any messages.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
uhZnIkbwREXhfXmZz5V3U+1PBuKMkniymUYWKLGOfMQDYZKzdev0N3pNGl3eqL3j4uy3s2BKUg3O/YBPapRZgQ==
|
||||
Reference in New Issue
Block a user