Skip to content

API changed: Native Node.js util.inspect for json formatting and highlighting, chalk dependency removed

Compare
Choose a tag to compare
@terehov terehov released this 24 May 20:33
· 594 commits to master since this release

Changes:

  • Setting logAsJson replaced with type = prettyjson ('pretty' is default)
  • chalk dependency removed (hexadecimal colors are no longer supported)
  • Color settings based on Node.js utils.ispect.colors
  • Error object displays additional details and exposes nativeError
  • When typeis set to json, hide nativeError and expose stringified version as errorString