We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94ee57b commit 9e0af0eCopy full SHA for 9e0af0e
.env.example
@@ -19,6 +19,7 @@ SUPABASE_ANON_KEY=
19
REMOTE_CHARACTER_URLS=
20
21
# Logging
22
+DEFAULT_LOG_LEVEL=info
23
LOG_JSON_FORMAT= # Print everything in logger as json; false by default
24
25
###############################
packages/core/src/logger.ts
@@ -26,7 +26,10 @@ const createStream = () => {
26
});
27
};
28
29
+const defaultLevel = process?.env?.DEFAULT_LOG_LEVEL || "info";
30
+
31
const options = {
32
+ level: defaultLevel,
33
customLevels,
34
hooks: {
35
logMethod(
0 commit comments