ElmLogger Class¶
- Namespace
Microsoft.AspNetCore.Diagnostics.Elm
- Assemblies
- Microsoft.AspNetCore.Diagnostics.Elm
Constructors¶
-
ElmLogger
(System.String, Microsoft.AspNetCore.Diagnostics.Elm.ElmOptions, Microsoft.AspNetCore.Diagnostics.Elm.ElmStore)¶ public ElmLogger(string name, ElmOptions options, ElmStore store)
-
Methods¶
-
BeginScope<TState>
(TState)¶ Return type: System.IDisposable public IDisposable BeginScope<TState>(TState state)
-
IsEnabled
(Microsoft.Extensions.Logging.LogLevel)¶ Return type: System.Boolean public bool IsEnabled(LogLevel logLevel)
-
Log<TState>
(Microsoft.Extensions.Logging.LogLevel, Microsoft.Extensions.Logging.EventId, TState, System.Exception, System.Func<TState, System.Exception, System.String>)¶ public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
-