feat(logs): add log level selection to tools ui (#3565)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { LogLevel } from "@homarr/log/constants";
|
||||
|
||||
import { createListChannel, createQueueChannel, createSubPubChannel } from "./lib/channel";
|
||||
|
||||
export {
|
||||
@@ -27,8 +29,7 @@ export const queueChannel = createQueueChannel<{
|
||||
|
||||
export interface LoggerMessage {
|
||||
message: string;
|
||||
level: string;
|
||||
timestamp: string;
|
||||
level: LogLevel;
|
||||
}
|
||||
|
||||
export const loggingChannel = createSubPubChannel<LoggerMessage>("logging");
|
||||
|
||||
Reference in New Issue
Block a user