C# Class Catel.Logging.SeqLogListener

Log listener which writes all data to a Seq server.
Inheritance: BatchLogListenerBase
Datei anzeigen Open project: Catel/Catel

Public Methods

Method Description
SeqLogListener ( ) : System

Initializes a new instance of the SeqLogListener class.

Protected Methods

Method Description
FormatLogEvent ( ILog log, string message, LogEvent logEvent, object extraData, LogData logData, System.DateTime time ) : string

Formats the log event to a message which can be written to a log persistence storage.

WriteBatch ( List batchEntries ) : System.Threading.Tasks.Task

Writes the batch of entries.

Method Details

FormatLogEvent() protected method

Formats the log event to a message which can be written to a log persistence storage.
protected FormatLogEvent ( ILog log, string message, LogEvent logEvent, object extraData, LogData logData, System.DateTime time ) : string
log ILog The log.
message string The message.
logEvent LogEvent The log event.
extraData object The extra data.
logData LogData The log data.
time System.DateTime The time.
return string

SeqLogListener() public method

Initializes a new instance of the SeqLogListener class.
public SeqLogListener ( ) : System
return System

WriteBatch() protected method

Writes the batch of entries.
The is null.
protected WriteBatch ( List batchEntries ) : System.Threading.Tasks.Task
batchEntries List The batch entries.
return System.Threading.Tasks.Task