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

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

View File

@@ -2,9 +2,11 @@ import { z } from "zod";
import { createEnv } from "@homarr/env";
import { logLevels } from "./constants";
export const env = createEnv({
server: {
LOG_LEVEL: z.enum(["debug", "info", "warn", "error"]).default("info"),
LOG_LEVEL: z.enum(logLevels).default("info"),
},
experimental__runtimeEnv: process.env,
});