PerRequestLogBuffer 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 per-request circular buffers and drops them after some time if not flushed or when the request ends.
public ref class PerRequestLogBuffer abstract : Microsoft::Extensions::Diagnostics::Buffering::LogBuffer
public abstract class PerRequestLogBuffer : Microsoft.Extensions.Diagnostics.Buffering.LogBuffer
type PerRequestLogBuffer = class
inherit LogBuffer
Public MustInherit Class PerRequestLogBuffer
Inherits LogBuffer
- Inheritance
Constructors
PerRequestLogBuffer() |
Methods
Flush() |
Flushes the buffer and emits all buffered logs. (Inherited from LogBuffer) |
TryEnqueue<TState>(IBufferedLogger, LogEntry<TState>) |
Enqueues a log record in the underlying buffer, if available. (Inherited from LogBuffer) |