Skip to content

Releases: fullstack-build/tslog

Generate traceId on setSettings()

16 Jun 21:23

Choose a tag to compare

Add TraceId that can either be a string or a function

16 Jun 20:21

Choose a tag to compare

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

16 Jun 16:06

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

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

Choose a tag to compare

Bugfix release

04 Jun 19:25

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

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

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

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

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