Class DefaultInitLogger<T>
public class DefaultInitLogger<T> : IInitLogger<T>, ILogger<T>, ILogger
Type Parameters
T
- Inheritance
-
DefaultInitLogger<T>
- Implements
-
IInitLogger<T>ILogger<T>
- Inherited Members
- Extension Methods
Constructors
DefaultInitLogger()
public DefaultInitLogger()
Properties
Entries
public List<AbpInitLogEntry> Entries { get; }
Property Value
Methods
BeginScope<TState>(TState)
public virtual IDisposable BeginScope<TState>(TState state) where TState : notnull
Parameters
state
TState
Returns
Type Parameters
TState
IsEnabled(LogLevel)
public virtual bool IsEnabled(LogLevel logLevel)
Parameters
logLevel
LogLevel
Returns
Log<TState>(LogLevel, EventId, TState, Exception?, Func<TState, Exception?, string>)
public virtual void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Parameters
logLevel
LogLeveleventId
EventIdstate
TStateexception
Exceptionformatter
Func<TState, Exception, string>
Type Parameters
TState