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.
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.
BTW, that’s a c++ lib (I was looking for a C one, but one never knows). I’m aware of zlog, for example, but it doesn’t offer structured logs. Sad to read it seems there’s no lib natively offering all this…
Thanks a lot !
Oh, misread the post, no idea for C sorry. I would think it would be really hard for C to have a generic structured log library, but I’m not a C expert