- changed handleExceptions exitOnError to exit immediately, instead of on a timout.
- fixed error when error does not have a stack property
- fixed error message when handler is undefined in
intel.config()
- added
basename
option tointel.console()
- fixed formatting of RegExps by default
- fixed Filter bug when more than 1 filter was added
- fixed debug() interception when using intel.console()
- added
intel.console({ logger: str })
to specify a parent logger - added
record.v
to indicate log record format - added
record.host
equal theos.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 setrecord.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 interpolatedmessage
, since it already containsargs
- changed Record.timestamp to use Date.now() instead of new Date()
- removed
Promise
s 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
- added
strip
option to Formatter, which will strip all ANSI code
- added bgBlue to TRACE
- changed uncaught exceptions log level to CRITICAL
- fixed error if null was passed an argument to Logger.log()
- added direct integration with
dbug
module - added
Logger.removeAllHandlers()
- added
formatFn
for Formatters andregex
,flags
, andfunction
for Filters to easeintel.config()
- added
Logger#trace
andintel.TRACE
level - added
exception: boolean
anduncaughtException: boolean
to LogRecord - added
Logger.NONE
andLogger.ALL
levels - changed
intel.config
to remove default ROOT console handler - changed
intel.console
to remove "lib" from logger names like "connect.lib.session" to be "connect.session" - performance improved for
Logger#getEffectiveLevel()
- added intel.console({ debug: 'foo' }) option
- performance gains
- fixed Rotating handler writing lock (thanks @chopachom)
- added intel.handlers.Rotating
- added ignore options to intel.console()
- added chalk.enabled when colorize is used
- added padding and truncation to printf
- added Logger#handleExceptions to catch uncaught exceptions
- added stack traces when an exception is logged
- changed datetime to strftime, adds
%L
to output milliseconds - changed Promises from Q to bluebird, significantly faster
- fixed Console handler from using accepting format options
- optimizations for common cases, big boost
- added Filters for Handlers and Loggers
- added Handler timeout option
- added pid to LogRecord
- added configuration using JSON
- changed Promises to LazyPromises
- changed printf to faster, smaller printf
- changed internal forEach to faster while loops
- removed node v0.6 support (it didn't work anyways)
- Initial release.