Méthode | Description | |
---|---|---|
BatchLogListenerBase ( int maxBatchCount = 100 ) : System |
Initializes a new instance of the BatchLogListenerBase class.
|
|
Flush ( ) : Task |
Flushes the current queue asynchronous.
|
Méthode | Description | |
---|---|---|
Write ( ILog log, string message, LogEvent logEvent, object extraData, LogData logData, System.DateTime time ) : void |
Called when any message is written to the log.
|
|
WriteBatchAsync ( List |
Writes the batch of entries.
|
Méthode | Description | |
---|---|---|
OnTimerTick ( object state ) : void | ||
WriteBatch ( List |
public BatchLogListenerBase ( int maxBatchCount = 100 ) : System | ||
maxBatchCount | int | The maximum batch count. |
Résultat | System |
protected Write ( ILog log, string message, LogEvent logEvent, object extraData, LogData logData, System.DateTime time ) : void | ||
log | ILog | The log. |
message | string | The message. |
logEvent | LogEvent | The log event. |
extraData | object | The additional data. |
logData | LogData | The log data. |
time | System.DateTime | The time. |
Résultat | void |
protected WriteBatchAsync ( List |
||
batchEntries | List |
The batch entries. |
Résultat | Task |