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.
You must log in or # to comment.
We use boost log at work, it seems to meet all the criteria you ask for. It is a bit heavy on the compiler though and logging gets used everywhere so expect your build times to go up.
Sorry, just reread your post, boost is c++ and you want c