Skip to content

LogLevelDefinition

Defined in: src/components/feedback/LogView/LogView.types.ts:71

Visual definition for a level — drives the filter chip and row accent.

Properties

color?

optional color: string

Defined in: src/components/feedback/LogView/LogView.types.ts:79

Level color. Built-in levels are themed via CSS and ignore this; custom levels use it (any CSS color, including a var(--etui-…) reference). Falls back to text.secondary.


icon?

optional icon: ComponentType<{ size?: number | "sm" | "md" | "lg"; }> | null

Defined in: src/components/feedback/LogView/LogView.types.ts:81

Icon component for the level. Pass null to render no icon.


label?

optional label: string

Defined in: src/components/feedback/LogView/LogView.types.ts:73

Chip / badge label.

Default

the capitalized level name

order?

optional order: number

Defined in: src/components/feedback/LogView/LogView.types.ts:83

Sort order of the chip in the level filter (ascending).