Releases: fullstack-build/tslog
Releases · fullstack-build/tslog
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
prettyError
that 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
logAsJson
replaced withtype
=pretty
|json
('pretty' is default) chalk
dependency removed (hexadecimal colors are no longer supported)- Color settings based on Node.js
utils.ispect.colors
- Error object displays additional
details
and exposesnativeError
- When
type
is set tojson
, hidenativeError
and 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
Add support for circular structures and a new setting for using caller name as the default name of the logger
- Merge pull request #5 from fullstack-build/development b48e710
- Update README 43a96f4
- Merge pull request #4 from fullstack-build/development 8271f72
- Add support for circular structures and a new setting for using caller name as the default name of the logger 28def3f
- Update dependencies bd75ce4
- Replaced ts-node-dev with onchange + tsnode 3fd85be
- Merge branch 'master' into development 7191346