NullLogger<T> Classe

Definição

Agente minimalista que não faz nada.Minimalistic logger that does nothing.

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)

Parâmetros de tipo

T
Herança
NullLogger<T>
Implementações

Construtores

NullLogger<T>()

Campos

Instance

Retorna uma instância de NullLogger<T>.Returns an instance of NullLogger<T>.

Métodos

BeginScope<TState>(TState)

Inicia um escopo de operação lógica.Begins a logical operation scope.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
IsEnabled(LogLevel)

Verifica se o logLevel determinado está habilitado.Checks if the given logLevel is enabled.

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

Grava uma entrada de log.Writes a log entry.

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Métodos de Extensão

BeginScope(ILogger, String, Object[])

Formata a mensagem e cria um escopo.Formats the message and creates a scope.

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

Formata e grava uma mensagem de log no nível de log especificado.Formats and writes a log message at the specified log level.

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

Formata e grava uma mensagem de log no nível de log especificado.Formats and writes a log message at the specified log level.

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

Formata e grava uma mensagem de log no nível de log especificado.Formats and writes a log message at the specified log level.

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

Formata e grava uma mensagem de log no nível de log especificado.Formats and writes a log message at the specified log level.

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

Formata e grava uma mensagem de log crítica.Formats and writes a critical log message.

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

Formata e grava uma mensagem de log crítica.Formats and writes a critical log message.

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

Formata e grava uma mensagem de log crítica.Formats and writes a critical log message.

LogCritical(ILogger, String, Object[])

Formata e grava uma mensagem de log crítica.Formats and writes a critical log message.

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

Formata e grava uma mensagem de log de depuração.Formats and writes a debug log message.

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

Formata e grava uma mensagem de log de depuração.Formats and writes a debug log message.

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

Formata e grava uma mensagem de log de depuração.Formats and writes a debug log message.

LogDebug(ILogger, String, Object[])

Formata e grava uma mensagem de log de depuração.Formats and writes a debug log message.

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

Formata e grava uma mensagem de log de erros.Formats and writes an error log message.

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

Formata e grava uma mensagem de log de erros.Formats and writes an error log message.

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

Formata e grava uma mensagem de log de erros.Formats and writes an error log message.

LogError(ILogger, String, Object[])

Formata e grava uma mensagem de log de erros.Formats and writes an error log message.

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

Formata e grava uma mensagem de log informativa.Formats and writes an informational log message.

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

Formata e grava uma mensagem de log informativa.Formats and writes an informational log message.

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

Formata e grava uma mensagem de log informativa.Formats and writes an informational log message.

LogInformation(ILogger, String, Object[])

Formata e grava uma mensagem de log informativa.Formats and writes an informational log message.

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

Formata e grava uma mensagem de log de rastreamento.Formats and writes a trace log message.

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

Formata e grava uma mensagem de log de rastreamento.Formats and writes a trace log message.

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

Formata e grava uma mensagem de log de rastreamento.Formats and writes a trace log message.

LogTrace(ILogger, String, Object[])

Formata e grava uma mensagem de log de rastreamento.Formats and writes a trace log message.

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

Formata e grava uma mensagem de log de aviso.Formats and writes a warning log message.

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

Formata e grava uma mensagem de log de aviso.Formats and writes a warning log message.

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

Formata e grava uma mensagem de log de aviso.Formats and writes a warning log message.

LogWarning(ILogger, String, Object[])

Formata e grava uma mensagem de log de aviso.Formats and writes a warning log message.

Aplica-se a