tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Bug: README document contained a custom log example but imports were incorrect plus unused import

Open Coderrob opened this issue 9 months ago • 0 comments

Describe the bug Reading through the README documentation I was looking at custom logging examples. I noticed the import was from a 'base' logger but the imported types came from tslog. Looked like a copy paste problem so opened a PR to make corrections in case anyone copy pasted to start a custom logger.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/fullstack-build/tslog/blob/master/README.md?plain=1#L243
  2. See unused import and looks like from 'tslog'

Expected behavior Updated documentation.

Screenshots Image

Coderrob avatar Feb 12 '25 02:02 Coderrob