메소드 | 설명 | |
---|---|---|
BatchLogListenerBase ( int maxBatchCount = 100 ) : System |
Initializes a new instance of the BatchLogListenerBase class.
|
|
Flush ( ) : Task |
Flushes the current queue asynchronous.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
OnTimerTick ( object state ) : void | ||
WriteBatch ( List |
public BatchLogListenerBase ( int maxBatchCount = 100 ) : System | ||
maxBatchCount | int | The maximum batch count. |
리턴 | 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. |
리턴 | void |
protected WriteBatchAsync ( List |
||
batchEntries | List |
The batch entries. |
리턴 | Task |