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

debugLog func must use Logger.Debugf #244

Closed
funvit opened this issue May 16, 2022 · 0 comments · Fixed by #282
Closed

debugLog func must use Logger.Debugf #244

funvit opened this issue May 16, 2022 · 0 comments · Fixed by #282

Comments

@funvit
Copy link

funvit commented May 16, 2022

Currently it uses Printf.

See in middleware/context.go.

@fredbi fredbi added the debug label Dec 7, 2023
fredbi added a commit to fredbi/runtime that referenced this issue Dec 13, 2023
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
fredbi added a commit to fredbi/runtime that referenced this issue Dec 14, 2023
* relinted debugLog as debugLogf
* fixes go-openapi#244 (use logger.Debugf rather than logger.Printf)
* fixes go-openapi#118 (added support for injectable logger in Context and DefaultRouter)
* removed global debug logger

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
fredbi added a commit that referenced this issue Dec 17, 2023
* relinted debugLog as debugLogf
* fixes #244 (use logger.Debugf rather than logger.Printf)
* fixes #118 (added support for injectable logger in Context and DefaultRouter)
* removed global debug logger

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants