Udostępnij przez


LogBuffer Class

Definition

Buffers logs into circular buffers and drops them after some time if not flushed.

public ref class LogBuffer abstract
public abstract class LogBuffer
type LogBuffer = class
Public MustInherit Class LogBuffer
Inheritance
LogBuffer
Derived

Constructors

Name Description
LogBuffer()

Methods

Name Description
Flush()

Flushes the buffer and emits all buffered logs.

TryEnqueue<TState>(IBufferedLogger, LogEntry<TState>)

Enqueues a log record in the underlying buffer, if available.

Applies to