C# Class HA4IoT.Logger.UdpLogger

Inheritance: ILogger
Datei anzeigen Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
Error ( Exception exception, string message ) : void
Error ( string message ) : void
Info ( string message ) : void
Start ( ) : void
UdpLogger ( ) : System
Verbose ( string message ) : void
Warning ( Exception exception, string message ) : void
Warning ( string message ) : void

Private Methods

Method Description
CreatePackage ( IEnumerable traceItems ) : Newtonsoft.Json.Linq.JObject
GetPendingItems ( ) : List
History ( IApiContext apiContext ) : void
PrintNotification ( LogEntrySeverity type, string message ) : void
Publish ( LogEntrySeverity type, string message ) : void
SendQueuedItems ( object state ) : void
UpdateHistory ( LogEntry logEntry ) : void

Method Details

Error() public method

public Error ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Error() public method

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

Info() public method

public Info ( string message ) : void
message string
return void

Start() public method

public Start ( ) : void
return void

UdpLogger() public method

public UdpLogger ( ) : System
return System

Verbose() public method

public Verbose ( string message ) : void
message string
return void

Warning() public method

public Warning ( Exception exception, string message ) : void
exception System.Exception
message string
return void

Warning() public method

public Warning ( string message ) : void
message string
return void