Skip to content

Documentation / listr2 / LoggerFieldOptions

Interface: LoggerFieldOptions<MultipleOnly>

Type parameters

MultipleOnly extends boolean = false

Properties

prefix?

optional prefix: MultipleOnly extends false ? LoggerField<any[]> | LoggerField<any[]>[] : LoggerField<any[]>[]

Prefix fields for the log entry.

Source

packages/listr2/src/utils/logger/logger.interface.ts:46


suffix?

optional suffix: MultipleOnly extends false ? LoggerField<any[]> | LoggerField<any[]>[] : LoggerField<any[]>[]

Suffix fields for the log entry.

Source

packages/listr2/src/utils/logger/logger.interface.ts:50