Skip to content

Commit a57c09f

Browse files
committed
use message key
1 parent c8fbb9c commit a57c09f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bufflog.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ export class BuffLog {
66
constructor() {
77
this.pinoLogger = require('pino')({
88
'level': this.defaultLevel,
9+
10+
// probably we want to call it `msg`. if so, let's change the PHP library instead
11+
'messageKey': 'message',
12+
913
// notice doesn't exist in pino, let's add it
1014
customLevels: {
1115
notice: 35

0 commit comments

Comments
 (0)