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
> var w = require('winston');
> var d = new Date();
> w.warn('hello', {foo: d});
warn: hello
> console.warn('hello', {foo: d});
hello { foo: Thu, 02 Feb 2012 11:07:21 GMT }
The silent omission of logged parameters (metadata in Winston?) is really jarring for developers migrating from using console.* (or any of the console-API-compatible loggers).
Thanks,
Chris.
The text was updated successfully, but these errors were encountered:
For example:
The silent omission of logged parameters (metadata in Winston?) is really jarring for developers migrating from using console.* (or any of the console-API-compatible loggers).
Thanks,
Chris.
The text was updated successfully, but these errors were encountered: