-
Notifications
You must be signed in to change notification settings - Fork 102
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
Set Log callback #209
Comments
🤦 OMG. I've been dealing with the C lib for 10yrs now, and I never noticed that! Yeah, that would be handy, right? |
Haha yes! I'm happy you agree 😃 |
Yes. All Eclipse Foundation projects require a signed ECA to insure the legal right/ownership to contribute to a project. Remember that Eclipse was started by IBM +20yrs ago when all the big software companies were suing each other over open source code! But no worries. This should be relatively easy to implement, assuming it works as advertised in the C library. And it's important, and I can use it in my own work. I'll jump on this quickly and get a point release out soon. |
OK. I got an initial implementation up in the It looks like this:
I'll get some documentation in shortly, and move to release this soon. |
Aaaah amazing 😁😁 you rock!! |
One last tweak... I didn't like how it was reporting the logs as coming from the
|
Released as v0.12.2 If you notice anything weird with the implementation, feel free to open this back up. |
I integrated this into a production system, and it is definitely a little too verbose when running at Looks like I need to adjust the log levels down a bit. |
Hello!
I was poking through the C library and saw that you can assign a callback to logging.
This would be really nice to have because then the C library logs can output in this same format as whatever Rust library is being used.
Can this function be exposed in this Rust library?
Thank you!
The text was updated successfully, but these errors were encountered: