Skip to content

v1.0.0

Compare
Choose a tag to compare
@seanmonstar seanmonstar released this 17 Dec 20:58
· 44 commits to master since this release
  • added intel.console({ logger: str }) to specify a parent logger
  • added record.v to indicate log record format
  • added record.host equal the os.hostname()
  • added %j alias to %O in printf
  • added %? default formatting for an argument
  • added :4 flag for indenting JSON in printf. such as %:2j.
  • fixed logger.trace() to no longer set record.exception=true
  • fixed cirular references in log arguments
  • fixed intel.console(debug) with uncolored output
  • changed log.info('%s', false) string interpolation to use internal printf
  • changed JSON format of Record to not include interpolated message, since it already contains args
  • changed Record.timestamp to use Date.now() instead of new Date()
  • removed Promises being returned from log methods. Not useful, slows it down.
  • removed Rotating handler from core. Use logrotate-stream or similar.
  • performance HUGE BOOST ACROSS THE BOARD