C# Class MetroLog.ILoggableExtender

Afficher le fichier Open project: mbrit/ProgrammingMetroStyle

Méthodes publiques

Méthode 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 méthode

public static GetLogger ( this loggable, LoggingConfiguration config = null ) : Logger
loggable this
config LoggingConfiguration
Résultat Logger

IsDebugEnabled() public static méthode

public static IsDebugEnabled ( this loggable ) : bool
loggable this
Résultat bool

IsErrorEnabled() public static méthode

public static IsErrorEnabled ( this loggable ) : bool
loggable this
Résultat bool

IsFatalEnabled() public static méthode

public static IsFatalEnabled ( this loggable ) : bool
loggable this
Résultat bool

IsInfoEnabled() public static méthode

public static IsInfoEnabled ( this loggable ) : bool
loggable this
Résultat bool

IsLevelEnabled() public static méthode

public static IsLevelEnabled ( this loggable, LogLevel level ) : bool
loggable this
level LogLevel
Résultat bool

IsTraceEnabled() public static méthode

public static IsTraceEnabled ( this loggable ) : bool
loggable this
Résultat bool

IsWarnEnabled() public static méthode

public static IsWarnEnabled ( this loggable ) : bool
loggable this
Résultat bool

LogDebug() public static méthode

public static LogDebug ( this loggable, string message ) : void
loggable this
message string
Résultat void

LogDebug() public static méthode

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

LogError() public static méthode

public static LogError ( this loggable, string message ) : void
loggable this
message string
Résultat void

LogError() public static méthode

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

LogFatal() public static méthode

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

LogFatal() public static méthode

public static LogFatal ( this loggable, string message ) : void
loggable this
message string
Résultat void

LogInfo() public static méthode

public static LogInfo ( this loggable, string message ) : void
loggable this
message string
Résultat void

LogInfo() public static méthode

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

LogTrace() public static méthode

public static LogTrace ( this loggable, string message ) : void
loggable this
message string
Résultat void

LogTrace() public static méthode

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

LogWarn() public static méthode

public static LogWarn ( this loggable, string message ) : void
loggable this
message string
Résultat void

LogWarn() public static méthode

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