C# Class HomeAutomation.Logging.Log

Provides logging functionality to the application.
Afficher le fichier Open project: moszinet/HomeAutomation

Méthodes publiques

Méthode Description
AddLogWriter ( ILogWriter logWriter, ILogFormatter logFormatter ) : void
Debug ( string message ) : void
Error ( string message ) : void
Information ( string message ) : void
LogMessage ( string message, LogLevel logLevel ) : void

Method Details

AddLogWriter() public static méthode

public static AddLogWriter ( ILogWriter logWriter, ILogFormatter logFormatter ) : void
logWriter ILogWriter
logFormatter ILogFormatter
Résultat void

Debug() public static méthode

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

Error() public static méthode

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

Information() public static méthode

public static Information ( string message ) : void
message string
Résultat void

LogMessage() public static méthode

public static LogMessage ( string message, LogLevel logLevel ) : void
message string
logLevel LogLevel
Résultat void