Class TraceOptions

The type of options.trace in Options

Note: it is a class only for validation purposes via class-validator, but it's not meant to be instantiated.

Constructors

Properties

omitInternals?: boolean

Skip the nodejs internal stack frames, like at Module._compile (node:internal/modules/cjs/loader:1254:14) at Object..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Function._load (node:internal/modules/cjs/loader:958:12)

@default: true

maxStackDepth?: number

Maximum number of stack frames to print.

@default: 5

realTrace?: boolean

If true, it suppresses LogZen's trace output. Useful in case your Custom Output uses the real console.trace

@default: undefined, i.e false