logDebugInfo() function

Emits the profiling output for a single call: the elapsed time computed from input.start, and/or the call arguments serialized as indented JSON.

Signature:

export declare function logDebugInfo(input: DebugInfoOptions): void;

Parameters

Parameter

Type

Description

input

DebugInfoOptions

fully-resolved description of the profiled call

Returns:

void

Remarks

Nothing is written when no logger is supplied, or when the logger does not implement the requested level — the work is still done, silently.

Circular and merely repeated object references are omitted from the argument dump. If the arguments cannot be serialized at all (a BigInt, for example), the failure is reported through logger.error regardless of the configured level and the arguments are logged as an empty string.

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