flatiron/winston — Issue #92: console logging of arbitrary objects silently omits parameters (metadata), compared with console.* methods
Author: chrisdew
Created: 2012-02-02 11:14:23+00:00
State: open

For example:

> 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.