mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 17:00:54 +01:00
18 lines
353 B
TypeScript
18 lines
353 B
TypeScript
export const logLevels = ["error", "warn", "info", "debug"] as const;
|
|
export type LogLevel = (typeof logLevels)[number];
|
|
|
|
export const logLevelConfiguration = {
|
|
error: {
|
|
prefix: "🔴",
|
|
},
|
|
warn: {
|
|
prefix: "🟡",
|
|
},
|
|
info: {
|
|
prefix: "🟢",
|
|
},
|
|
debug: {
|
|
prefix: "🔵",
|
|
},
|
|
} satisfies Record<LogLevel, { prefix: string }>;
|