feat(logs): add log level selection to tools ui (#3565)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-07-17 10:43:13 +02:00
1 parent c00110e426
commit c4e5c3002b
12 files changed
+150 -31

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
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 }>;