Repository navigation
Releases: fp8/jlog-facade
Releases · fp8/jlog-facade
Release list
0.10.1
0.10.0
Fix circular structure error
- Created
helper.safeStringifyto address circular structure error fromJSON.strigify - Updated
SimpleJsonDestination,SimpleTextDestinationandLoggableto usesafeStringify
Logger Interceptor
- Added support for log interceptor with
AbstractBaseDestination.setLogInterceptorandAbstractBaseDestination.clearLogInterceptor - Log destination now must call
AbstractBaseDestination._writein order for log interceptor to work - [BREAKING] Renamed
LogWriter.hasDestinationtoLogWriter.hasDestinations
Default payload
- Added support to pass message as callback for all log methods
- Added support for a
defaultPayloadinlogger.jsonwhere content are added to logger write - Added
LoggerFactory.loadedConfigwith content oflogger.json - [BREAKING]
buildOutputDataForDestinationnow acceptdefaultPayloadas 3rd param, pushingvalues
to 4th position.
Loggable AbstractLoggable
- Added
Loggablewith support for any data type
logger.json configuration file
- Added support to set
LogLevelon logger and desitination - Added support to set logger name filter on logger destination
- Added support for configuring logger using
logger.jsonfile - Added
.getLoggertoLoggerFactoryas an alias to.create - Added
LogLevel.OFFto turn off the logger - Added
.useto logger destination to internally add itself toLoggerFactory
Bug fix: Added AbstractKeyValue Model
- Created new AbstractKeyValue model to fix the problem with factory method inheritance
Bug fix: Tags fails to compile
Tags's constructor needed force type on.supercall or ts fail to compile
Added KV.of static method to simply it's creation
- Added MIT license file
- Added LoggerFactory.getLogger method for backward compatibility
- Cleaned up the data type for KV and added .of static method