Files
klz-cables.com/.pnpm-store/v10/files/4a/c3aaa1b223d1de656d61015d36cd3d594cec7e1277339e88dd39b21c17b582e793a3251f6366dcf23b5ca3721c86a9ac444232a781d3a9c8469e54f0f884f7
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

57 lines
1.6 KiB
Plaintext

import type { Attributes } from '../attributes';
import type { ParameterizedString } from './parameterize';
export type LogSeverityLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
export interface Log {
/**
* The severity level of the log.
*
* Allowed values are, from highest to lowest:
* `critical`, `fatal`, `error`, `warn`, `info`, `debug`, `trace`.
*
* The log level changes how logs are filtered and displayed.
* Critical level logs are emphasized more than trace level logs.
*/
level: LogSeverityLevel;
/**
* The message to be logged.
*/
message: ParameterizedString;
/**
* Arbitrary structured data that stores information about the log - e.g., userId: 100.
*/
attributes?: Record<string, unknown>;
/**
* The severity number.
*/
severityNumber?: number;
}
export interface SerializedLog {
/**
* Timestamp in seconds (epoch time) indicating when the log occurred.
*/
timestamp: number;
/**
* The severity level of the log. One of `trace`, `debug`, `info`, `warn`, `error`, `fatal`.
*/
level: LogSeverityLevel;
/**
* The log body.
*/
body: Log['message'];
/**
* The trace ID for this log
*/
trace_id?: string;
/**
* Arbitrary structured data that stores information about the log - e.g., userId: 100.
*/
attributes?: Attributes;
/**
* The severity number.
*/
severity_number?: Log['severityNumber'];
}
export type SerializedLogContainer = {
items: Array<SerializedLog>;
};
//# sourceMappingURL=log.d.ts.map