Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(log): improve logger.ts docs #6176

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

efekrskl
Copy link
Contributor

@efekrskl efekrskl commented Nov 6, 2024

Gets us closer to #3764

The file was already very well documented, it was just missing a few things

@efekrskl efekrskl requested a review from kt3k as a code owner November 6, 2024 19:19
@github-actions github-actions bot added the log label Nov 6, 2024
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 96.49%. Comparing base (63fdf8d) to head (f855302).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
log/logger.ts 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6176      +/-   ##
==========================================
- Coverage   96.49%   96.49%   -0.01%     
==========================================
  Files         535      535              
  Lines       41275    41281       +6     
  Branches     6163     6163              
==========================================
+ Hits        39829    39833       +4     
- Misses       1402     1404       +2     
  Partials       44       44              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

*
* const handler = new ConsoleHandler("INFO");
* const logConfig: LogConfig = {
* handlers: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally prefer 2-space indent here, but not a big deal

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@kt3k kt3k merged commit bf0ad52 into denoland:main Nov 7, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants