debug-logger
input syntax matches node's console for easier adoption:- Added
log.time()
andlog.timeEnd()
; - Added
log.dir()
; - Added
log.assert()
.
- Added
- By default trace, debug, log and info output to stdout while warn and error output to stderr. This is configurable;
log()
now outputs through the default/rootdebug
instance.