Skip to content

LogViewLabels

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

Every user-facing string the component renders, for i18n. Pass a Partial<LogViewLabels> to labels to override any subset; the rest fall back to the English defaults (DEFAULT_LOG_VIEW_LABELS).

Properties

clearLabel

clearLabel: string

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

Clear-all button accessible label.

Default

"Clear logs"

copyLabel

copyLabel: string

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

Copy-all button accessible label.

Default

"Copy logs"

copyLineLabel

copyLineLabel: string

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

Per-line copy button accessible label.

Default

"Copy line"

emptyLabel

emptyLabel: string

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

Empty-state text, used when emptyState is not provided.

Default

"No log entries"

jumpToBottomLabel

jumpToBottomLabel: string

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

Jump-to-bottom button label (visible text + accessible name).

Default

"Jump to bottom"

levelFilterLabel

levelFilterLabel: string

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

Level-filter chip group accessible label.

Default

"Filter by level"

newLinesLabel()

newLinesLabel: (count) => string

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

Renders the count of new lines on the jump-to-bottom button. A function so locales can handle pluralization and word order.

Parameters

count

number

Returns

string

Default

(n) => ${n} new


regionLabel

regionLabel: string

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

Accessible label for the log region.

Default

"Log output"

searchLabel

searchLabel: string

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

Search field accessible label.

Default

"Filter logs"

searchPlaceholder

searchPlaceholder: string

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

Search field placeholder.

Default

"Filter logs…"