Method Enqueue
Enqueue(PayloadHandle, long, LogLevel)
Adds new message to the write buffer under read lock. Gets the timestamp just before adding the message to the queue.
Declaration
public void Enqueue(PayloadHandle payload, long stacktraceId, LogLevel logLevel)
Parameters
Type | Name | Description |
---|---|---|
PayloadHandle | payload | PayloadHandle of the log message |
long | stacktraceId | Stacktrace id of the log message or 0 if none |
LogLevel | logLevel | LogLevel of the log message |