Class DefaultInitLogger<T>
Inheritance
object
DefaultInitLogger<T>
Implements
IInitLogger<T>
Microsoft.Extensions.Logging.ILogger<TCategoryName><T>
Microsoft.Extensions.Logging.ILogger
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Logging
Assembly: Volo.Abp.Core.dll
Syntax
public class DefaultInitLogger<T> : IInitLogger<T>, ILogger<T>, ILogger
Type Parameters
Name | Description |
---|---|
T |
Constructors
DefaultInitLogger()
Declaration
public DefaultInitLogger()
Properties
Entries
Declaration
public List<AbpInitLogEntry> Entries { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><AbpInitLogEntry> |
Methods
BeginScope<TState>(TState)
Declaration
public virtual IDisposable BeginScope<TState>(TState state) where TState : notnull
Parameters
Type | Name | Description |
---|---|---|
TState | state |
Returns
Type | Description |
---|---|
System.IDisposable |
Type Parameters
Name | Description |
---|---|
TState |
IsEnabled(LogLevel)
Declaration
public virtual bool IsEnabled(LogLevel logLevel)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.LogLevel | logLevel |
Returns
Type | Description |
---|---|
bool |
Log<TState>(LogLevel, EventId, TState, Exception?, Func<TState, Exception?, string>)
Declaration
public virtual void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.LogLevel | logLevel | |
Microsoft.Extensions.Logging.EventId | eventId | |
TState | state | |
System.Exception | exception | |
System.Func<T1, T2, TResult><TState, System.Exception, string> | formatter |
Type Parameters
Name | Description |
---|---|
TState |
Implements
Microsoft.Extensions.Logging.ILogger<TCategoryName>
Microsoft.Extensions.Logging.ILogger