Skip to content

Releases: fullstack-build/tslog

Child logger, Prefix log messages, inspect types and toJSON helper

16 Jun 16:06
Compare
Choose a tag to compare
  • Add toJSON helper to logObject to enable JSON.stringify for circular logObjects 2c43fbf
  • WIP: Add displayAttributeType, Add log prefix, Working on Childlogger with settings inheritance 8ffeae2
  • Adjust README to the actual behavior fe282dd

v2.2.0...v2.3.0-0

Add additional settings for output control

05 Jun 18:47
Compare
Choose a tag to compare

Fixes #7: Added workaround for inspect.styles colors bug on some Node versions (e.g. 12.14)

04 Jun 20:50
Compare
Choose a tag to compare

Bugfix release

04 Jun 19:25
Compare
Choose a tag to compare
  • Merge pull request #8 from fullstack-build/development c321dc6
  • Add more default colors in setting prettyInspectHighlightStyles, hopefully fixes issue #7. bacdd19
  • Fix potential null pointer 931f3f3
  • Add hostename to the logObject 6859b39

v2.1.0...v2.1.1

Exposed helper method `prettyError`

26 May 19:20
Compare
Choose a tag to compare
  • 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

24 May 20:33
Compare
Choose a tag to compare

Changes:

  • Setting logAsJson replaced with type = prettyjson ('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 exposes nativeError
  • When typeis set to json, hide nativeError and expose stringified version as errorString

Expose additional information of an error

24 May 17:30
Compare
Choose a tag to compare
  • Update tsdoc to reflect error details changes a41dc82
  • Expose additional information of an error d649298

v2.0.0-0...v2.0.0-1

Replace JSON colorizer with native util.inspect and remove dependency chalk

24 May 16:59
Compare
Choose a tag to compare
  • 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

v1.1.2...v2.0.0-0

Add support for circular structures and a new setting for using caller name as the default name of the logger

21 May 12:31
Compare
Choose a tag to compare
  • 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

v1.1.1...v1.1.2

Hide more internal call sites when cleaning up stack trace.

01 May 05:21
Compare
Choose a tag to compare
  • TsDoc updated 1613e98
  • Merge pull request #3 from fullstack-build/development 3f4364a
  • version bump e2ac778
  • Hide more internal call sites when cleaning up stack trace. 3654f4a
  • website adjusted for smaller screens fd0dab6

v1.1.0...v1.1.1