Releases: fullstack-build/tslog
Releases · fullstack-build/tslog
Generate traceId on setSettings()
Add TraceId that can either be a string or a function
Child logger, Prefix log messages, inspect types and toJSON helper
Add additional settings for output control
Fixes #7: Added workaround for inspect.styles colors bug on some Node versions (e.g. 12.14)
Bugfix release
Exposed helper method `prettyError`
- Exposed helper method
prettyErrorthat helps pretty-printing an error without logging with various options - Adjust default error colors
API changed: Native Node.js util.inspect for json formatting and highlighting, chalk dependency removed
Changes:
- Setting
logAsJsonreplaced withtype=pretty|json('pretty' is default) chalkdependency removed (hexadecimal colors are no longer supported)- Color settings based on Node.js
utils.ispect.colors - Error object displays additional
detailsand exposesnativeError - When
typeis set tojson, hidenativeErrorand expose stringified version aserrorString
Expose additional information of an error
Replace JSON colorizer with native util.inspect and remove dependency chalk
- Final preparation for 2.0 release a5c7f0c
- Tiny README change for better readability 50e8b70
- Regenerate docs 9a70f3a
- Merge branch 'development' 27d9646
- Delete tsdoc on development branch, only generate on master 39dc9f9
- Remove dependency chalk, use native util.inspect colors a939ccd
- Final cleanup after refactoring to use utils.inspect 3fd89ce
- Prevent code frame feature from following into node_modules 9418f63
- Adjust tests and readme to reflect latest API changes f4c6ac3
- Adjust interface name to refelect latest API changes 580a3da
- Rename setting jsonHighlightColors into highlightStyles to make it more generic (is used for utils.inspect) d496eb3
- Replace JSON colorizer with native util.inspect 1ae3bb1