C# Class MetroLog.Logger

Afficher le fichier Open project: mbrit/ProgrammingMetroStyle

Private Properties

Свойство Type Description
LogInternal LogEventInfo
Logger System

Méthodes publiques

Méthode Description
Debug ( string message ) : void
Debug ( string message, Exception ex = null ) : void
Error ( string message ) : void
Error ( string message, Exception ex = null ) : void
Fatal ( string message ) : void
Fatal ( string message, Exception ex = null ) : void
Info ( string message ) : void
Info ( string message, Exception ex = null ) : void
IsEnabled ( LogLevel level ) : bool
Log ( LogLevel logLevel, string message ) : LogEventInfo
Log ( LogLevel logLevel, string message, Exception ex ) : LogEventInfo
Trace ( string message ) : void
Trace ( string message, Exception ex = null ) : void
Warn ( string message ) : void
Warn ( string message, Exception ex = null ) : void

Private Methods

Méthode Description
LogInternal ( LogLevel level, string message, string ps, Exception ex, bool doFormat ) : LogEventInfo
Logger ( string name, LoggingConfiguration config ) : System

Method Details

Debug() public méthode

public Debug ( string message ) : void
message string
Résultat void

Debug() public méthode

public Debug ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Error() public méthode

public Error ( string message ) : void
message string
Résultat void

Error() public méthode

public Error ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Fatal() public méthode

public Fatal ( string message ) : void
message string
Résultat void

Fatal() public méthode

public Fatal ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Info() public méthode

public Info ( string message ) : void
message string
Résultat void

Info() public méthode

public Info ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

IsEnabled() public méthode

public IsEnabled ( LogLevel level ) : bool
level LogLevel
Résultat bool

Log() public méthode

public Log ( LogLevel logLevel, string message ) : LogEventInfo
logLevel LogLevel
message string
Résultat LogEventInfo

Log() public méthode

public Log ( LogLevel logLevel, string message, Exception ex ) : LogEventInfo
logLevel LogLevel
message string
ex System.Exception
Résultat LogEventInfo

Trace() public méthode

public Trace ( string message ) : void
message string
Résultat void

Trace() public méthode

public Trace ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Warn() public méthode

public Warn ( string message ) : void
message string
Résultat void

Warn() public méthode

public Warn ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void