Table of Contents

Class DefaultInitLogger<T>

Namespace
Volo.Abp.Logging
Assembly
Volo.Abp.Core.dll
public class DefaultInitLogger<T> : IInitLogger<T>, ILogger<T>, ILogger

Type Parameters

T
Inheritance
DefaultInitLogger<T>
Implements
Inherited Members
Extension Methods

Constructors

DefaultInitLogger()

public DefaultInitLogger()

Properties

Entries

public List<AbpInitLogEntry> Entries { get; }

Property Value

List<AbpInitLogEntry>

Methods

BeginScope<TState>(TState)

public virtual IDisposable BeginScope<TState>(TState state) where TState : notnull

Parameters

state TState

Returns

IDisposable

Type Parameters

TState

IsEnabled(LogLevel)

public virtual bool IsEnabled(LogLevel logLevel)

Parameters

logLevel LogLevel

Returns

bool

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 LogLevel
eventId EventId
state TState
exception Exception
formatter Func<TState, Exception, string>

Type Parameters

TState