C# Класс MetroLog.ILoggableExtender

Показать файл Открыть проект

Открытые методы

Метод Описание
GetLogger ( this loggable, LoggingConfiguration config = null ) : Logger
IsDebugEnabled ( this loggable ) : bool
IsErrorEnabled ( this loggable ) : bool
IsFatalEnabled ( this loggable ) : bool
IsInfoEnabled ( this loggable ) : bool
IsLevelEnabled ( this loggable, LogLevel level ) : bool
IsTraceEnabled ( this loggable ) : bool
IsWarnEnabled ( this loggable ) : bool
LogDebug ( this loggable, string message ) : void
LogDebug ( this loggable, string message, Exception ex = null ) : void
LogError ( this loggable, string message ) : void
LogError ( this loggable, string message, Exception ex = null ) : void
LogFatal ( this loggable, string message, Exception ex = null ) : LogEventInfo
LogFatal ( this loggable, string message ) : void
LogInfo ( this loggable, string message ) : void
LogInfo ( this loggable, string message, Exception ex = null ) : void
LogTrace ( this loggable, string message ) : void
LogTrace ( this loggable, string message, Exception ex = null ) : void
LogWarn ( this loggable, string message ) : void
LogWarn ( this loggable, string message, Exception ex = null ) : void

Описание методов

GetLogger() публичный статический Метод

public static GetLogger ( this loggable, LoggingConfiguration config = null ) : Logger
loggable this
config LoggingConfiguration
Результат Logger

IsDebugEnabled() публичный статический Метод

public static IsDebugEnabled ( this loggable ) : bool
loggable this
Результат bool

IsErrorEnabled() публичный статический Метод

public static IsErrorEnabled ( this loggable ) : bool
loggable this
Результат bool

IsFatalEnabled() публичный статический Метод

public static IsFatalEnabled ( this loggable ) : bool
loggable this
Результат bool

IsInfoEnabled() публичный статический Метод

public static IsInfoEnabled ( this loggable ) : bool
loggable this
Результат bool

IsLevelEnabled() публичный статический Метод

public static IsLevelEnabled ( this loggable, LogLevel level ) : bool
loggable this
level LogLevel
Результат bool

IsTraceEnabled() публичный статический Метод

public static IsTraceEnabled ( this loggable ) : bool
loggable this
Результат bool

IsWarnEnabled() публичный статический Метод

public static IsWarnEnabled ( this loggable ) : bool
loggable this
Результат bool

LogDebug() публичный статический Метод

public static LogDebug ( this loggable, string message ) : void
loggable this
message string
Результат void

LogDebug() публичный статический Метод

public static LogDebug ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
Результат void

LogError() публичный статический Метод

public static LogError ( this loggable, string message ) : void
loggable this
message string
Результат void

LogError() публичный статический Метод

public static LogError ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
Результат void

LogFatal() публичный статический Метод

public static LogFatal ( this loggable, string message, Exception ex = null ) : LogEventInfo
loggable this
message string
ex System.Exception
Результат LogEventInfo

LogFatal() публичный статический Метод

public static LogFatal ( this loggable, string message ) : void
loggable this
message string
Результат void

LogInfo() публичный статический Метод

public static LogInfo ( this loggable, string message ) : void
loggable this
message string
Результат void

LogInfo() публичный статический Метод

public static LogInfo ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
Результат void

LogTrace() публичный статический Метод

public static LogTrace ( this loggable, string message ) : void
loggable this
message string
Результат void

LogTrace() публичный статический Метод

public static LogTrace ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
Результат void

LogWarn() публичный статический Метод

public static LogWarn ( this loggable, string message ) : void
loggable this
message string
Результат void

LogWarn() публичный статический Метод

public static LogWarn ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
Результат void