We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35370bb commit 65d12abCopy full SHA for 65d12ab
src/lib/config.ts
@@ -1,4 +1,4 @@
1
-const MODES = ["PROD", "PLAYGROUNDS_PR"] as const
+const MODES = ["PROD"] as const
2
3
export type ModeType = (typeof MODES)[number]
4
@@ -8,6 +8,8 @@ export type LogLevel = (typeof LOG_LEVELS)[number]
8
9
export const CONFIG = {
10
EXTENSION_NAME: "gitcasso", // decorates logs
11
- LOG_LEVEL: "DEBUG" satisfies LogLevel,
+ LOG_LEVEL: (import.meta.env.MODE === "production"
12
+ ? "WARN"
13
+ : "DEBUG") satisfies LogLevel,
14
MODE: "PROD" satisfies ModeType,
15
} as const
0 commit comments