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

Better Logging #38

Merged
merged 10 commits into from
Feb 1, 2023
Merged

Better Logging #38

merged 10 commits into from
Feb 1, 2023

Conversation

threeal
Copy link
Owner

@threeal threeal commented Jan 31, 2023

Closes #36.

Add a new log.ts with the following functions:

  • log.emph, to emphasize some words with blue color.
  • log.info, alias of core.info.
  • log.warning, log message with an warning label.
  • log.error, log message with an error label.
  • log.group, replace core.group with duration info.

@threeal threeal added the feat label Jan 31, 2023
@threeal threeal self-assigned this Jan 31, 2023
@threeal threeal force-pushed the better-logging branch 4 times, most recently from 01e9409 to 6bea1e8 Compare January 31, 2023 11:55
@threeal threeal mentioned this pull request Jan 31, 2023
17 tasks
@threeal threeal marked this pull request as ready for review January 31, 2023 12:48
@threeal threeal requested a review from LordRonz January 31, 2023 12:49
Copy link
Collaborator

@LordRonz LordRonz left a comment

Choose a reason for hiding this comment

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

lgtm

@threeal threeal merged commit 2b44e20 into main Feb 1, 2023
@threeal threeal deleted the better-logging branch February 1, 2023 02:33
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.

Colorized Output
2 participants