-
Notifications
You must be signed in to change notification settings - Fork 12
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
If function has a logger as parameter use it! #14
Comments
that's a nice add. I would hope there's a better UX to do this, but idk if that's possible. Something like: |
I hope i'll have time this week to test this and maybe also release a new version (already changed some stuff and a bit of the API) but if you want to play with this and update me that's more than welcome :) |
I'm not so familiar with Thanks |
Oh, wait, you want to pass a logger not an attribute. |
Is the Logger behaving the some as rust's |
Actually I'm using https://docs.rs/sloggers/0.3.2/sloggers/ because I would have different loggers. I would like to use that kind of instance here. Are you interested? |
hmmmm this is a totally different facade. |
I've a function like this
I would like to use this awesome lib in order to log the error using the first parameter.
For more generic usage
If you are interested, I may send a PR!
The text was updated successfully, but these errors were encountered: