NullLogger<T> Classe

Definizione

Logger minimalista che non fa nulla.

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
Public Class NullLogger(Of T)
Implements ILogger(Of T)

Parametri di tipo

T
Ereditarietà
NullLogger<T>
Implementazioni

Costruttori

NullLogger<T>()

Logger minimalista che non fa nulla.

Campi

Instance

Restituisce un'istanza di NullLogger<T>.

Metodi

BeginScope<TState>(TState)

Avvia un ambito di operazione logica.

Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.

(Ereditato da Object)
GetHashCode()

Funge da funzione hash predefinita.

(Ereditato da Object)
GetType()

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
IsEnabled(LogLevel)

Controlla se la logLevel specificata è abilitata.

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

Scrive una voce di log.

MemberwiseClone()

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Metodi di estensione

BeginScope(ILogger, String, Object[])

Formatta il messaggio e crea un ambito.

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

Formatta e scrive un messaggio di log a livello di log specificato.

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

Formatta e scrive un messaggio di log a livello di log specificato.

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

Formatta e scrive un messaggio di log a livello di log specificato.

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

Formatta e scrive un messaggio di log a livello di log specificato.

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

Formatta e scrive un messaggio di log critico.

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

Formatta e scrive un messaggio di log critico.

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

Formatta e scrive un messaggio di log critico.

LogCritical(ILogger, String, Object[])

Formatta e scrive un messaggio di log critico.

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

Formatta e scrive un messaggio di log di debug.

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

Formatta e scrive un messaggio di log di debug.

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

Formatta e scrive un messaggio di log di debug.

LogDebug(ILogger, String, Object[])

Formatta e scrive un messaggio di log di debug.

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

Formatta e scrive un messaggio del log degli errori.

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

Formatta e scrive un messaggio del log degli errori.

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

Formatta e scrive un messaggio del log degli errori.

LogError(ILogger, String, Object[])

Formatta e scrive un messaggio del log degli errori.

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

Formatta e scrive un messaggio di log informativo.

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

Formatta e scrive un messaggio di log informativo.

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

Formatta e scrive un messaggio di log informativo.

LogInformation(ILogger, String, Object[])

Formatta e scrive un messaggio di log informativo.

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

Formatta e scrive un messaggio del log di traccia.

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

Formatta e scrive un messaggio del log di traccia.

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

Formatta e scrive un messaggio del log di traccia.

LogTrace(ILogger, String, Object[])

Formatta e scrive un messaggio del log di traccia.

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

Formatta e scrive un messaggio di log degli avvisi.

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

Formatta e scrive un messaggio di log degli avvisi.

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

Formatta e scrive un messaggio di log degli avvisi.

LogWarning(ILogger, String, Object[])

Formatta e scrive un messaggio di log degli avvisi.

Si applica a