this post was submitted on 29 Aug 2023
3 points (100.0% liked)

C & C++

891 readers
3 users here now

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/4072147

Is there a library for C, providing thread safe (high performance), and structured logging? An example for rust is the Tracing crate for rust (from Tokio). It should support several outputs as well.

top 1 comments
sorted by: hot top controversial new old
[–] Falmarri@lemmy.world 1 points 1 year ago

I've been looking for this for a few years now. Seems the answer is no, if you mean a de facto one. I hacked some structured log into spdlog, but it's far from good enough