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

Change function args from *zap.Logger to *interface{} #14

Open
depohmel opened this issue Nov 18, 2018 · 1 comment
Open

Change function args from *zap.Logger to *interface{} #14

depohmel opened this issue Nov 18, 2018 · 1 comment
Assignees

Comments

@depohmel
Copy link
Contributor

Right now lib is forcing a user to use zap logger. It would be better to allow a user to have a choice.

Example:

func InitProviders(conf *config.Config, logger *zap.Logger) (registry.Providers, error) {

@arahamad-zz
Copy link
Member

good suggestion, we will fix it as an improvement

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