LogBuffer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |