C# Class HomeAutomation.Logging.Log

Provides logging functionality to the application.
Mostrar archivo Open project: moszinet/HomeAutomation

Public Methods

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

public static AddLogWriter ( ILogWriter logWriter, ILogFormatter logFormatter ) : void
logWriter ILogWriter
logFormatter ILogFormatter
return void

Debug() public static method

public static Debug ( string message ) : void
message string
return void

Error() public static method

public static Error ( string message ) : void
message string
return void

Information() public static method

public static Information ( string message ) : void
message string
return void

LogMessage() public static method

public static LogMessage ( string message, LogLevel logLevel ) : void
message string
logLevel LogLevel
return void