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 have checked logdown's code and it seems like Logdown.prototype._prepareOutput is generating the output message. I have created a plugin to add a timestamp before my log messages but _prepareOutput causes the logger prefix to be in the first place. That's why all my log statements look like this:
loggerName [2020-10-22 17:34:39.587] Hello, World
Is there any chance to have the logger name as second value in the log message? I want to get an output like this:
[2020-10-22 17:34:39.587] loggerName Hello, World
The text was updated successfully, but these errors were encountered:
I have checked logdown's code and it seems like
Logdown.prototype._prepareOutput
is generating the output message. I have created a plugin to add a timestamp before my log messages but_prepareOutput
causes the logger prefix to be in the first place. That's why all my log statements look like this:Is there any chance to have the logger name as second value in the log message? I want to get an output like this:
The text was updated successfully, but these errors were encountered: