ConsoleLoggerExtensions
AddConsole(ILoggerFactory)
AddConsole(ILoggingBuilder)
AddConsole(ILoggerFactory, Boolean)
AddConsole(ILoggerFactory, IConfiguration)
AddConsole(ILoggerFactory, IConsoleLoggerSettings)
AddConsole(ILoggerFactory, LogLevel)
AddConsole(ILoggerFactory, LogLevel, Boolean)
AddConsole(ILoggingBuilder, Action<ConsoleLoggerOptions>)
AddConsole(ILoggerFactory, Func<String, LogLevel, Boolean>)
AddConsole(ILoggerFactory, Func<String, LogLevel, Boolean>, Boolean)
AddConsoleFormatter<TFormatter, TOptions>(ILoggingBuilder)
AddConsoleFormatter<TFormatter, TOptions>(ILoggingBuilder, Action<TOptions>)
AddJsonConsole(ILoggingBuilder)
AddJsonConsole(ILoggingBuilder, Action<JsonConsoleFormatterOptions>)
AddSimpleConsole(ILoggingBuilder)
AddSimpleConsole(ILoggingBuilder, Action<SimpleConsoleFormatterOptions>)
AddSystemdConsole(ILoggingBuilder)
AddSystemdConsole(ILoggingBuilder, Action<ConsoleFormatterOptions>)
netcoreapp3.1
namespace Microsoft.Extensions.Logging
{
public static class ConsoleLoggerExtensions
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is retained only for compatibility. The recommended alternative is AddConsole(this ILoggingBuilder builder).", true)]
public static ILoggerFactory! AddConsole(this ILoggerFactory! factory, Func<string!, LogLevel, bool>! filter);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to netcoreapp3.1 | |
Assemblies | Microsoft.Extensions.Logging.Console , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.Extensions.Logging.Console , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Extensions.Logging.Console (9.0.3) netstandard2.0 |
Obsolete | This method is retained only for compatibility. The recommended alternative is AddConsole(this ILoggingBuilder builder). |
Platform Restrictions | This API is supported on any platform except for these:
|
- Built-in API
- Package-provided API