feat(logging): add log level env variable (#2299)
This commit is contained in:
1 parent
6420feee72
commit
67d48e11d7
31 files changed
+202
-183
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { z } from "zod";
|
||||
|
||||
import { createEnv } from "@homarr/env";
|
||||
|
||||
export const env = createEnv({
|
||||
server: {
|
||||
LOG_LEVEL: z.enum(["debug", "info", "warn", "error"]).default("info"),
|
||||
},
|
||||
experimental__runtimeEnv: process.env,
|
||||
});
|
||||
Reference in new issue
Block a user