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

Support custom logger #89

Closed
akaNightmare opened this issue Dec 16, 2020 · 4 comments
Closed

Support custom logger #89

akaNightmare opened this issue Dec 16, 2020 · 4 comments

Comments

@akaNightmare
Copy link

Hey,

it would be great to support passing custom logger which implements basic log.Logger interface. And if it's possible completely disable logger inside atreugo server

@savsgio
Copy link
Owner

savsgio commented Dec 22, 2020

Hi @akaNightmare,

Sorry for delayed anwer.

I will try to implement a logger interface instead of a pointer of *logger.Logger.

About disable logger, you could use the writer ioutil.Discard to write directly to /dev/null

Thanks for your advise!

@akaNightmare
Copy link
Author

@savsgio thank you, waiting for a new release

@savsgio
Copy link
Owner

savsgio commented Jan 2, 2021

Hi @akaNightmare,

In a few days i will release a new versiones with the custom logger and some new features!

Thanks!

@savsgio
Copy link
Owner

savsgio commented Jan 9, 2021

Hi @akaNightmare,

I've just released v11.6.0 🎉

@savsgio savsgio closed this as completed Jan 9, 2021
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