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.0
namespace Microsoft.Extensions.Logging.Console
{
public class ConsoleLogger : ILogger
{
public bool IncludeScopes { get; set; }
}
}
.NET Core | 2.02.12.2 |
---|---|
Information specific to netcoreapp2.0 | |
Assembly | Microsoft.Extensions.Logging.Console , Version=2.0.2.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API