Class Log73Logger
Assembly: Log73.Extensions.Logging.dll
View Source
Declaration
public class Log73Logger : ILogger
Properties
Config
The configuration for this Log73.Extensions.Logging.Log73Logger.
View Source
Declaration
public Log73LoggerConfiguration Config { get; set; }
Fields
Name
The name for this logger.
View Source
Declaration
public readonly string Name
Methods
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, String>)
View Source
Declaration
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Parameters
| Type | Name |
|---|---|
Microsoft.Extensions.Logging.LogLevel | logLevel |
Microsoft.Extensions.Logging.EventId | eventId |
<TState> | state |
System.Exception | exception |
System.Func<<TState>,System.Exception,System.String> | formatter |
Type Parameters
TState
IsEnabled(LogLevel)
If the message should be logged under the current configuration's Log73.LogLevel.
View Source
Declaration
public bool IsEnabled(LogLevel logLevel)
Returns
System.Boolean:
Parameters
| Type | Name |
|---|---|
Microsoft.Extensions.Logging.LogLevel | logLevel |
BeginScope<TState>(TState)
View Source
Declaration
public IDisposable BeginScope<TState>(TState state)
Returns
System.IDisposable
Parameters
| Type | Name |
|---|---|
<TState> | state |
Type Parameters
TState
Implements
Microsoft.Extensions.Logging.ILogger
Extension Methods
- Log73.ExtensionMethod.DumpExtensionMethods.Dump(System.Object)
- Log73.ExtensionMethod.DumpExtensionMethods.DumpInfo(System.Object)
- Log73.ExtensionMethod.DumpExtensionMethods.DumpWarn(System.Object)
- Log73.ExtensionMethod.DumpExtensionMethods.DumpError(System.Object)
- Log73.ExtensionMethod.DumpExtensionMethods.DumpDebug(System.Object)