Skip to content

Documentation / listr2 / ListrLoggerStyleMap

Interface: ListrLoggerStyleMap<Levels>

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 extends string

Properties

color?

optional color: Partial<Record<Levels, LoggerFormat>>

Coloring of the levels.

See

https://listr2.kilic.dev/renderer/logger.html#style

Defined in

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


icon?

optional icon: Partial<Record<Levels, string>>

Icons of the levels.

See

https://listr2.kilic.dev/renderer/logger.html#style

Defined in

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