ILogger Arabirim

Tanım

Günlüğe kaydetmeyi gerçekleştirmek için kullanılan bir türü temsil eder.Represents a type used to perform logging.

public interface class ILogger
public interface ILogger
type ILogger = interface
Public Interface ILogger
Türetilmiş

Açıklamalar

Birçok günlük desenini tek bir yönteme toplar.Aggregates most logging patterns to a single method.

Yöntemler

BeginScope<TState>(TState)

Bir mantıksal işlem kapsamı başlatır.Begins a logical operation scope.

IsEnabled(LogLevel)

Verilen özelliğinin etkin olup olmadığını denetler logLevel .Checks if the given logLevel is enabled.

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

Bir günlük girdisi yazar.Writes a log entry.

Uzantı Metotları

BeginScope(ILogger, String, Object[])

İletiyi biçimlendirir ve bir kapsam oluşturur.Formats the message and creates a scope.

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

Belirtilen günlük düzeyinde bir günlük iletisi biçimlendirir ve yazar.Formats and writes a log message at the specified log level.

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

Belirtilen günlük düzeyinde bir günlük iletisi biçimlendirir ve yazar.Formats and writes a log message at the specified log level.

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

Belirtilen günlük düzeyinde bir günlük iletisi biçimlendirir ve yazar.Formats and writes a log message at the specified log level.

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

Belirtilen günlük düzeyinde bir günlük iletisi biçimlendirir ve yazar.Formats and writes a log message at the specified log level.

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

Kritik bir günlük iletisi biçimlendirir ve yazar.Formats and writes a critical log message.

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

Kritik bir günlük iletisi biçimlendirir ve yazar.Formats and writes a critical log message.

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

Kritik bir günlük iletisi biçimlendirir ve yazar.Formats and writes a critical log message.

LogCritical(ILogger, String, Object[])

Kritik bir günlük iletisi biçimlendirir ve yazar.Formats and writes a critical log message.

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

Bir hata ayıklama günlüğü iletisi biçimlendirir ve yazar.Formats and writes a debug log message.

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

Bir hata ayıklama günlüğü iletisi biçimlendirir ve yazar.Formats and writes a debug log message.

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

Bir hata ayıklama günlüğü iletisi biçimlendirir ve yazar.Formats and writes a debug log message.

LogDebug(ILogger, String, Object[])

Bir hata ayıklama günlüğü iletisi biçimlendirir ve yazar.Formats and writes a debug log message.

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

Bir hata günlüğü iletisi biçimlendirir ve yazar.Formats and writes an error log message.

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

Bir hata günlüğü iletisi biçimlendirir ve yazar.Formats and writes an error log message.

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

Bir hata günlüğü iletisi biçimlendirir ve yazar.Formats and writes an error log message.

LogError(ILogger, String, Object[])

Bir hata günlüğü iletisi biçimlendirir ve yazar.Formats and writes an error log message.

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

Bir bilgi günlüğü iletisi biçimlendirir ve yazar.Formats and writes an informational log message.

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

Bir bilgi günlüğü iletisi biçimlendirir ve yazar.Formats and writes an informational log message.

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

Bir bilgi günlüğü iletisi biçimlendirir ve yazar.Formats and writes an informational log message.

LogInformation(ILogger, String, Object[])

Bir bilgi günlüğü iletisi biçimlendirir ve yazar.Formats and writes an informational log message.

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

Bir izleme günlüğü iletisi biçimlendirir ve yazar.Formats and writes a trace log message.

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

Bir izleme günlüğü iletisi biçimlendirir ve yazar.Formats and writes a trace log message.

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

Bir izleme günlüğü iletisi biçimlendirir ve yazar.Formats and writes a trace log message.

LogTrace(ILogger, String, Object[])

Bir izleme günlüğü iletisi biçimlendirir ve yazar.Formats and writes a trace log message.

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

Bir uyarı günlüğü iletisi biçimlendirir ve yazar.Formats and writes a warning log message.

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

Bir uyarı günlüğü iletisi biçimlendirir ve yazar.Formats and writes a warning log message.

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

Bir uyarı günlüğü iletisi biçimlendirir ve yazar.Formats and writes a warning log message.

LogWarning(ILogger, String, Object[])

Bir uyarı günlüğü iletisi biçimlendirir ve yazar.Formats and writes a warning log message.

Şunlara uygulanır