method StructuredLogger.prototype.setTraceId StructuredLogger.prototype.setTraceId(traceId: string): void Sets the trace ID for distributed tracing Parameters traceId: string Return Type void