ConsoleLogger
ConsoleLogger(String, Func<String, LogLevel, Boolean>, Boolean)
ConsoleLogger(String, Func<String, LogLevel, Boolean>, IExternalScopeProvider)
Console
DisableColors
Filter
IncludeScopes
Name
BeginScope<TState>(TState)
IsEnabled(LogLevel)
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, String>)
WriteMessage(LogLevel, String, Int32, String, Exception)
netcoreapp2.2
namespace Microsoft.Extensions.Logging.Console
{
[Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is ConsoleLoggerProvider.")]
public class ConsoleLogger : ILogger
{
public IDisposable BeginScope<TState>(TState state);
}
}
.NET Core | 2.02.12.2 |
---|---|
Information specific to netcoreapp2.2 | |
Assembly | Microsoft.Extensions.Logging.Console , Version=2.2.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API