NullLogger<T> Klasa

Definicja

Minimalistyczny rejestrator, który nic nie robi.

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

Parametry typu

T
Dziedziczenie
NullLogger<T>
Implementuje

Konstruktory

NullLogger<T>()

Minimalistyczny rejestrator, który nic nie robi.

Pola

Instance

Zwraca wystąpienie klasy NullLogger<T>.

Metody

BeginScope<TState>(TState)

Rozpoczyna zakres operacji logicznych.

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)
IsEnabled(LogLevel)

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

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

Zapisuje wpis dziennika.

MemberwiseClone()

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

(Odziedziczone po Object)
ToString()

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

(Odziedziczone po Object)

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