You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
without set level ,i use flag package to set log level. like below
`
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/kind feature
log level output
set log level must be useful when debug a online program
Describe the solution you'd like
[A clear and concise description of what you want to happen.]
zap:
https://pkg.go.dev/go.uber.org/zap#example-AtomicLevel-Config
cfg.Level.SetLevel(zap.ErrorLevel)
logrus
https://github.com/sirupsen/logrus
log.SetLevel(log.WarnLevel)
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
without set level ,i use flag package to set log level. like below
`
The text was updated successfully, but these errors were encountered: