Files
klz-cables.com/.pnpm-store/v10/files/c2/fb8a7a30f948fb8ba95afdab8a4082101a6bc001512546e70381e8a5e33b13285fb7d31565af1a1c56a61c15e1ec482714e7c674f1bcd7c538ff69b7afb2c8
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

58 lines
1.7 KiB
Plaintext

import { Attributes } from '../attributes';
import { 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