bunyan-error-serializer

bunyan.stdSerializer.err alternative

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bunyan-error-serializer
001.1.04 years ago6 years agoMinified + gzip package size for bunyan-error-serializer in KB

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
  }
});