LogTheme
interface exported by @mwillbanks/tuil-log-viewer.
interface
Public interface exported by @mwillbanks/tuil-log-viewer.
export interface LogTheme {
readonly variant: LogThemeVariant;
readonly tokens: Readonly<
Record<
| "trace"
| "debug"
| "info"
| "notice"
| "warn"
| "error"
| "fatal"
| "timestamp"
| "source"
| "service"
| "attribute"
| "traceId"
| "selected"
| "match"
| "parseError"
| "live",
string
>
>;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
variant | LogThemeVariant | Yes | The variant member uses the LogThemeVariant contract. | LogThemeVariant |
tokens | Readonly<Record<"trace" | "debug" | "info" | "notice" | "warn" | "error" | "fatal" | "timestamp" | "source" | "service" | "attribute" | "traceId" | "selected" | "match" | "parseError" | "live", string>> | Yes | The tokens member uses the Readonly<Record<"trace" | "debug" | "info" | "notice" | "warn" | "error" | "fatal" | "timestamp" | "source" | "service" | "attribute" | "traceId" | "selected" | "match" | "parseError" | "live", string>> contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference