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

Support muti-level logger in azd #4570

Open
rujche opened this issue Nov 20, 2024 · 0 comments
Open

Support muti-level logger in azd #4570

rujche opened this issue Nov 20, 2024 · 0 comments

Comments

@rujche
Copy link
Member

rujche commented Nov 20, 2024

For current azd, the logger only has one level: output or not output.

  1. Without "--debug" program parameter, there is no output. Customer will lack necessary information.
  2. WIth "--debug" program parameter, there will be too much (hundreds or even thousands of lines) logs.

It's a reasonable request to support multi-level log in azd. Here are common used levels: info, warn, error.

And I found loggers for go lang:

  1. https://github.com/sirupsen/logrus
  2. https://github.com/uber-go/zap
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

1 participant