@rbxts/rlog > LogContext > (constructor)
LogContext.(constructor)
Constructor for manually creating a LogContext.
Signature:
constructor(correlation_id: string, config: RLogConfig);
Parameters
Parameter | Type | Description |
---|---|---|
correlation_id | string | Tracking identifier attached to all logs that use this context. |
config | Common configuration shared between all consumers of this context. |