ILogger Interfejs

Definicja

Reprezentuje typ używany do rejestrowania.

public interface class ILogger
public interface ILogger
type ILogger = interface
Public Interface ILogger
Pochodne

Uwagi

Agreguje większość wzorców rejestrowania do jednej metody.

Metody

BeginScope<TState>(TState)

Rozpoczyna zakres operacji logicznych.

IsEnabled(LogLevel)

Sprawdza, czy dana wartość logLevel jest włączona.

Log<TState>(LogLevel, EventId, TState, Exception, Func<TState,Exception,String>)

Zapisuje wpis dziennika.

Metody rozszerzania

BeginScope(ILogger, String, Object[])

Formatuje komunikat i tworzy zakres.

Log(ILogger, LogLevel, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

Log(ILogger, LogLevel, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

Log(ILogger, LogLevel, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

Log(ILogger, LogLevel, String, Object[])

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

LogCritical(ILogger, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika krytycznego.

LogCritical(ILogger, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika krytycznego.

LogCritical(ILogger, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika krytycznego.

LogCritical(ILogger, String, Object[])

Formatuje i zapisuje komunikat dziennika krytycznego.

LogDebug(ILogger, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika debugowania.

LogDebug(ILogger, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika debugowania.

LogDebug(ILogger, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika debugowania.

LogDebug(ILogger, String, Object[])

Formatuje i zapisuje komunikat dziennika debugowania.

LogError(ILogger, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika błędów.

LogError(ILogger, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika błędów.

LogError(ILogger, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika błędów.

LogError(ILogger, String, Object[])

Formatuje i zapisuje komunikat dziennika błędów.

LogInformation(ILogger, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogInformation(ILogger, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogInformation(ILogger, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogInformation(ILogger, String, Object[])

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogTrace(ILogger, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika śledzenia.

LogTrace(ILogger, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika śledzenia.

LogTrace(ILogger, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika śledzenia.

LogTrace(ILogger, String, Object[])

Formatuje i zapisuje komunikat dziennika śledzenia.

LogWarning(ILogger, EventId, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

LogWarning(ILogger, EventId, String, Object[])

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

LogWarning(ILogger, Exception, String, Object[])

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

LogWarning(ILogger, String, Object[])

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

Dotyczy