Logger.log() method

Logs to the console and to every configured transport.

Signature:

log(...args: any[]): void;

Parameters

Parameter

Type

Description

args

any[]

console.log-style arguments; the first may be a format string with %s/%d/%j placeholders for the rest

Returns:

void

Remarks

Reaches transports at winston's info level — there is no distinct log level — so records from here and from Logger.info() are indistinguishable once shipped. They differ only in the console method used. Pick by the destination you care about.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.