Bunyan v0.6.3 Release Notes

    • 👍 Allow an optional msg and arguments to the log.info(<Error> err) logging form. For example, before:

      log.debug(my_error_instance)            // good
      log.debug(my_error_instance, "boom!")   // wasn't allowed
      

    Now the latter is allowed if you want to expliciting set the log msg. Of course this applies to all the log.{trace|debug|info...}() methods.

    • bunyan cli output: clarify extra fields with quoting if empty or have spaces. E.g. 'cmd' and 'stderr' in the following:

      [2012-02-12T00:30:43.736Z] INFO: mo-docs/43194 on banana.local: buildDocs results (req_id=185edca2-2886-43dc-911c-fe41c09ec0f5, route=PutDocset, error=null, stderr="", cmd="make docs")