Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

How to replace the logger? #23

Closed
klingtnet opened this issue Feb 24, 2017 · 3 comments · Fixed by #24
Closed

How to replace the logger? #23

klingtnet opened this issue Feb 24, 2017 · 3 comments · Fixed by #24
Labels
Milestone

Comments

@klingtnet
Copy link
Contributor

klingtnet commented Feb 24, 2017

The library exposes Logger but all logger fields are private and there is no setLogger or similar method.
How can I assign my own logging struct?

@lunny
Copy link
Member

lunny commented Feb 24, 2017

The description?

@klingtnet
Copy link
Contributor Author

I've updated the issue description (see above), sorry for the confusion.

@klingtnet
Copy link
Contributor Author

I've implemented a pluggable logging backend in the mean time and will open a pull request.

@lunny lunny added this to the 0.1 milestone Mar 2, 2017
@lunny lunny added the feature label Mar 2, 2017
@lunny lunny closed this as completed in #24 Mar 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants