Skip to content

Commit e8b1c1a

Browse files
committed
log: none as no-op for external logger
1 parent 71213ea commit e8b1c1a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

intra/log/logger.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,9 @@ func splitmsg(p []byte) (LogLevel, Logmsg) {
680680
return STACKTRACE, Logmsg(p[2:])
681681
case 'U':
682682
return USR, Logmsg(p[2:])
683+
case ' ':
684+
return NONE, "" // drop
685+
default: // may be "?"
683686
}
684687
}
685688
return INFO, Logmsg(p)

0 commit comments

Comments
 (0)