Documentation / listr2 / ListrLoggerStyleMap
Interface: ListrLoggerStyleMap<Levels>
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:27
Inject your custom style map consisting of icons and coloring for the ListrLogger.
See
https://listr2.kilic.dev/renderer/logger.html
Extended by
Type Parameters
Levels
Levels
extends string
Properties
color?
optional
color: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
icon?
optional
icon:Partial
<Record
<Levels
,string
| () =>string
>>
Defined in: packages/listr2/src/utils/logger/logger.interface.ts:39
Icons of the levels.