method StructuredLogger.prototype.warn
StructuredLogger.prototype.warn(
message: string,
context?: Record<string, unknown>,
): void

Logs a warning message with optional context

Parameters

message: string
optional
context: Record<string, unknown>

Return Type

void

Usage

import { StructuredLogger } from ".";