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

Use lowercase "f" for Logger interface functions #77

Closed
pteich opened this issue May 21, 2022 · 1 comment
Closed

Use lowercase "f" for Logger interface functions #77

pteich opened this issue May 21, 2022 · 1 comment

Comments

@pteich
Copy link

pteich commented May 21, 2022

This is not a real issue but I would suggest to use a lowercase f for your Logger interface function, e.g. Errorf(string, ...interface{}) instead of ErrorF(string, ...interface{})

This way, it is much easier to use existing logger implementations directly as this is the more or less default in the Go landscape (IMHO). In addition, also the Go stdlib functions like Printf() use it this way.

@wagslane
Copy link
Owner

fixed in 0.10.0

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