method StructuredLogger.prototype.setCorrelationId
StructuredLogger.prototype.setCorrelationId(correlationId: string): void

Sets the correlation ID for grouping related logs

Parameters

correlationId: string

Return Type

void

Usage

import { StructuredLogger } from ".";