summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hero.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hero.mjs b/src/hero.mjs
index d97f028..c36da68 100644
--- a/src/hero.mjs
+++ b/src/hero.mjs
@@ -32,7 +32,7 @@ export const logit = (writerFn, timestampFn, level, o) =>
export const now = () => (new Date()).toISOString();
export const makeLogger = ({
- writerFn = console.error,
+ writerFn = console.log,
timestampFn = now,
} = {}) => ({
debug: (...args) => process.env.DEBUG ?