Releases: seanmonstar/intel
Releases · seanmonstar/intel
v1.1.1
v1.1.0
- added
basename
option tointel.console()
v1.0.2
- fixed formatting of RegExps by default
v1.0.1
- fixed
Filter
bug when more than 1 filter was added - fixed
debug()
interception when usingintel.console()
v1.0.0
- 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
v0.5.2
- added
strip
option to Formatter, which will strip all ANSI code
v0.5.1
- added bgBlue to TRACE
- changed uncaught exceptions log level to CRITICAL
- fixed error if null was passed an argument to Logger.log()
v0.5.0
- 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()
v0.4.0
- added intel.console({ debug: 'foo' }) option
- performance gains
v0.3.1
- fixed Rotating handler writing lock (thanks @chopachom)