Skip to content

@gvray/logger


@gvray/logger / FormatOptions

Interface: FormatOptions ​

Defined in: utils.ts:4

Options controlling how formatArgs inspects values.

Properties ​

colors? ​

optional colors?: boolean

Defined in: utils.ts:10

Whether to emit ANSI color escape codes in the output.

Default ​

ts
false

depth? ​

optional depth?: number

Defined in: utils.ts:6

Maximum nesting depth when inspecting objects and arrays.

Default ​

ts
4

maxArrayLength? ​

optional maxArrayLength?: number

Defined in: utils.ts:8

Maximum number of array items or object properties to inspect.

Default ​

ts
100

Released under the MIT License.