checkly-cli icon indicating copy to clipboard operation
checkly-cli copied to clipboard

feat: introduce logging [sc-22304]

Open sorccu opened this issue 1 year ago • 1 comments

While this PR is intended to eventually introduce permanent logging to the CLI, for now its purpose is to help us debug a certain customer issue. As such some cleanup will be needed before this can merged for real.

I hereby confirm that I followed the code guidelines found at engineering guidelines

Affected Components

  • [x] CLI
  • [ ] Create CLI
  • [ ] Test
  • [ ] Docs
  • [ ] Examples
  • [ ] Other

Notes for the Reviewer

Resolves #[issue-number]

New Dependency Submission

A new dependency to pino is introduced. I also debated going with winston but pino seems to have a reputation for being somewhat faster, and it has slightly fewer dependencies.

sorccu avatar Nov 11 '24 17:11 sorccu

🎉 Experimental release successfully published on npm

npm install [email protected]

github-actions[bot] avatar Nov 11 '24 17:11 github-actions[bot]