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

Improve Logging - Sprint #60

Open
5 tasks
amandesai01 opened this issue Aug 8, 2024 · 1 comment
Open
5 tasks

Improve Logging - Sprint #60

amandesai01 opened this issue Aug 8, 2024 · 1 comment
Assignees

Comments

@amandesai01
Copy link
Member

amandesai01 commented Aug 8, 2024

Currently we use IS_DEV flag and raw console.log to log data.

Rather, we can

  • Create a Consola instance in utils/logger.ts #61
  • Create a runtime config to set log-level.
  • Log all basic things (wrapped by IS_DEV) at trace and debug level depending on log.
  • Log all things which are not wrapped by IS_DEV to normal logs.
  • Log all errors to error level.

Open to better / in detailed proposals.

@amandesai01 amandesai01 changed the title Improve Logging Improve Logging - Sprint Aug 8, 2024
@amandesai01 amandesai01 self-assigned this Aug 8, 2024
@amandesai01 amandesai01 pinned this issue Aug 8, 2024
@ameyagidh
Copy link

Can I work on this?

@amandesai01 amandesai01 unpinned this issue Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants