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.

  • JustCopyingOthers@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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.