Skip to content

Commit dc72d1b

Browse files
committed
Keep pino-mozlog in sync with pino-syslog
1 parent 552f893 commit dc72d1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pino-mozlog/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ const format = (
6060
},
6161
options = DEFAULT_OPTIONS,
6262
) => {
63-
const syslogSeverity = pinoSyslog.levelToSeverity(level);
63+
const syslogSeverity =
64+
pinoSyslog.defaults.pinoLevelToSyslogSeverity.get(level);
6465

6566
return {
6667
EnvVersion: ENV_VERSION,

0 commit comments

Comments
 (0)