logs tab
This commit is contained in:
1 parent
3b25b37c22
commit
a148f56b22
12 files changed
+291
-5
No files matched your search
@@ -0,0 +1,13 @@
|
||||
export const LOG_LEVELS = ["debug", "info", "warn", "error"] as const;
|
||||
export type LogLevel = (typeof LOG_LEVELS)[number];
|
||||
export const LOG_LEVEL_OPTIONS = ["all", ...LOG_LEVELS] as const;
|
||||
export type LogLevelOption = (typeof LOG_LEVEL_OPTIONS)[number];
|
||||
export interface Log {
|
||||
message: string;
|
||||
service?: string;
|
||||
method?: string;
|
||||
details?: Record<string, unknown>;
|
||||
stack?: string;
|
||||
level: LogLevel;
|
||||
timestamp: string;
|
||||
}
|
||||
@@ -19,6 +19,9 @@ export interface UIState {
|
||||
infrastructure: {
|
||||
rowsPerPage: number;
|
||||
};
|
||||
logs: {
|
||||
rowsPerPage: number;
|
||||
};
|
||||
sidebar: {
|
||||
collapsed: boolean;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user