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

Question: Is this library designed to be thread safe? #15

Closed
JanBeelte opened this issue Dec 22, 2024 · 2 comments
Closed

Question: Is this library designed to be thread safe? #15

JanBeelte opened this issue Dec 22, 2024 · 2 comments

Comments

@JanBeelte
Copy link

Hello again,

I will be using the logger in combination with some multi-threaded workloads using:
https://github.com/mitchellh/libxev

Will this library be a good fit to log debug messages from multiple threads to a central place?

Best,

Jan

@hendriknielaender
Copy link
Owner

Hey @JanBeelte,

this lib will be thread safe in the future. Currently I won't recommend this library. Please use something more mature like https://github.com/karlseguin/log.zig .

This should be thread safe, hope this helps. I have one open issue which will tackle a redesign.

@JanBeelte
Copy link
Author

Hey @hendriknielaender!
Thanks a lot for the quick response.
I had two more options on the table:

  1. https://github.com/karlseguin/log.zig
  2. https://github.com/chrischtel/nexlog

currently I am leaning towards 2. but still need to figure out some details.

Good luck with the redesign, let me know when you need some feedback!

Best,

Jan

@hendriknielaender hendriknielaender closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2024
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