Skip to content

pwmckenna/bunyan-error-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published