C# Class Catel.Logging.SeqLogListener

Log listener which writes all data to a Seq server.
Inheritance: BatchLogListenerBase
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
SeqLogListener ( ) : System

Initializes a new instance of the SeqLogListener class.

Méthodes protégées

Méthode 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 méthode

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.
Résultat string

SeqLogListener() public méthode

Initializes a new instance of the SeqLogListener class.
public SeqLogListener ( ) : System
Résultat System

WriteBatch() protected méthode

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