LogContext class
Context for a collection of log entries.
Signature:
export declare class LogContext
Remarks
Provides a centrialized means for tracking correlation ids, allowing you to create a linkage between log entries in individual logic flows- enabling more streamlined debugging in high traffic or asynchronous environments.
Constructors
Constructor | Modifiers | Description |
---|---|---|
Constructor for manually creating a LogContext. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
| |||
| string |
Methods
Method | Modifiers | Description |
---|---|---|
A context is considered dead after stop has been called. | ||
| Creates a new LogContext. | |
Marks this context as dead, preventing any further usage. | ||
Creates a new RLog instance that inherits this context. | ||
Creates a new LogContext instance that inherits this context. |