Logger<T> Klasa

Definicja

Delegaci do nowego ILogger wystąpienia przy użyciu pełnej nazwy danego typu utworzonego przez podany element ILoggerFactory.

generic <typename T>
public ref class Logger : Microsoft::Extensions::Logging::ILogger<T>
public class Logger<T> : Microsoft.Extensions.Logging.ILogger<T>
type Logger<'T> = class
    interface ILogger<'T>
    interface ILogger
type Logger<'T> = class
    interface ILogger
    interface ILogger<'T>
Public Class Logger(Of T)
Implements ILogger(Of T)

Parametry typu

T

Typ.

Dziedziczenie
Logger<T>
Implementuje

Konstruktory

Logger<T>(ILoggerFactory)

Tworzy nowy adres Logger<T>.

Metody

Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()

Type Pobiera bieżące wystąpienie.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Jawne implementacje interfejsu

ILogger.BeginScope<TState>(TState)

Rozpoczyna zakres operacji logicznych.

ILogger.IsEnabled(LogLevel)

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

ILogger.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