Documentation / listr2 / ListrLoggerOptions
Interface: ListrLoggerOptions<Levels> 
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:7
Options for the logger
Extends 
ProcessOutputRendererOptions.ListrLoggerStyleMap<Levels|string>
Type Parameters 
Levels 
Levels extends string
Properties 
useIcons? 
optionaluseIcons:boolean
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:11
Use icons for the log levels.
fields? 
optionalfields:LoggerFieldOptions<true>
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:15
Apply fields and templates as presets before and after each message.
toStderr? 
optionaltoStderr: (string|Levels)[]
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:19
Send the designated levels to process.stderr.
color? 
optionalcolor:Partial<Record<Levels,LoggerFormat>>
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:33
Coloring of the levels.
See 
https://listr2.kilic.dev/renderer/logger.html#style
Inherited from 
icon? 
optionalicon:Partial<Record<Levels,string| () =>string>>
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:39
Icons of the levels.
See 
https://listr2.kilic.dev/renderer/logger.html#style
Inherited from 
processOutput? 
optionalprocessOutput:ProcessOutput
Defined in: packages/listr2/src/utils/process-output/process-output.interface.ts:11
Pass your implementation of process output class to write to stdout and stderr.
Default 
'ProcessOutput'Global 
global option that can not be temperated with subtasks