C# Class MetroLog.ILoggableExtender

Mostra file Open project: mbrit/ProgrammingMetroStyle

Public Methods

Method Description
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

Method Details

GetLogger() public static method

public static GetLogger ( this loggable, LoggingConfiguration config = null ) : Logger
loggable this
config LoggingConfiguration
return Logger

IsDebugEnabled() public static method

public static IsDebugEnabled ( this loggable ) : bool
loggable this
return bool

IsErrorEnabled() public static method

public static IsErrorEnabled ( this loggable ) : bool
loggable this
return bool

IsFatalEnabled() public static method

public static IsFatalEnabled ( this loggable ) : bool
loggable this
return bool

IsInfoEnabled() public static method

public static IsInfoEnabled ( this loggable ) : bool
loggable this
return bool

IsLevelEnabled() public static method

public static IsLevelEnabled ( this loggable, LogLevel level ) : bool
loggable this
level LogLevel
return bool

IsTraceEnabled() public static method

public static IsTraceEnabled ( this loggable ) : bool
loggable this
return bool

IsWarnEnabled() public static method

public static IsWarnEnabled ( this loggable ) : bool
loggable this
return bool

LogDebug() public static method

public static LogDebug ( this loggable, string message ) : void
loggable this
message string
return void

LogDebug() public static method

public static LogDebug ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
return void

LogError() public static method

public static LogError ( this loggable, string message ) : void
loggable this
message string
return void

LogError() public static method

public static LogError ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
return void

LogFatal() public static method

public static LogFatal ( this loggable, string message, Exception ex = null ) : LogEventInfo
loggable this
message string
ex System.Exception
return LogEventInfo

LogFatal() public static method

public static LogFatal ( this loggable, string message ) : void
loggable this
message string
return void

LogInfo() public static method

public static LogInfo ( this loggable, string message ) : void
loggable this
message string
return void

LogInfo() public static method

public static LogInfo ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
return void

LogTrace() public static method

public static LogTrace ( this loggable, string message ) : void
loggable this
message string
return void

LogTrace() public static method

public static LogTrace ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
return void

LogWarn() public static method

public static LogWarn ( this loggable, string message ) : void
loggable this
message string
return void

LogWarn() public static method

public static LogWarn ( this loggable, string message, Exception ex = null ) : void
loggable this
message string
ex System.Exception
return void