bunyan-error-serializer
v1.1.0
Published
bunyan.stdSerializer.err alternative
Downloads
672
Readme
bunyan-error-serializer
This is an enhanced version of bunyan.stdSerializer.err
that serializes info from VError type errors, and cleans up the stack traces.
import err from 'bunyan-error-serializer';
bunyan.createLogger({
...
serializers: {
...bunyan.stdSerializers,
err
}
});