Skip to content

Commit 8ce6caf

Browse files
missinglinkjnorkus
andauthored
feat: debug logs written to stderr (#62)
Co-authored-by: Juras Norkus <juras@viggo.com>
1 parent 090d9cc commit 8ce6caf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function CreateLogger( name, loggerOpts ){
1919
stringify: true,
2020
timestamp: pkgConfig.timestamp,
2121
level: pkgConfig.level,
22-
label: name
22+
label: name,
23+
stderrLevels: ["emerg", "alert", "crit", "error"]
2324
})
2425
]
2526
};

0 commit comments

Comments
 (0)