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

#Improve: Use more preferable way to specify logger - Interface #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nape-max
Copy link

@nape-max nape-max commented Jan 9, 2023

  1. By using Interface, you have posability pass any logger such as zap.Logger by using Adapter pattern.
    I'm using it in my production code and it's work great, because I was need JSON logs, but it's bad idea to implement it by yourself.

  2. Migrate from version 1.11 to 1.18 to get support 'any' predefined type.

…ve posability pass any logger such as zap.Logger by using Adapter pattern.
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

Successfully merging this pull request may close these issues.

1 participant