You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a little test that demonstrates this: MatrixFrog@cb9ef9b The call to log.data() should be emitting '\x1B[90mdata\x1B[39m:test message\n' but instead we get '\x1B[90mdata\x1B[39m:undefinedtest message\n'
The problem
I wrote a little test that demonstrates this: MatrixFrog@cb9ef9b The call to log.data() should be emitting
'\x1B[90mdata\x1B[39m:test message\n'
but instead we get'\x1B[90mdata\x1B[39m:undefinedtest message\n'
From what I can tell, the 'undefined' is coming from here: https://github.com/winstonjs/logform/blob/master/pad-levels.js#L64 though I'm not sure exactly why.
What version of Winston presents the issue?
3.5.1
What version of Node are you using?
14.17.6
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
https://github.com/MatrixFrog/winston/commit/cb9ef9b09510aae9dbb6caf3bb697014aced5f68
Additional information
No response
The text was updated successfully, but these errors were encountered: