JustCopyingOthers,

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.

JustCopyingOthers,

Sorry, just reread your post, boost is c++ and you want c

Falmarri,
@Falmarri@lemmy.world avatar

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

kixik,

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 !

Falmarri,
@Falmarri@lemmy.world avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • cpp@lemmy.ml
  • kavyap
  • mdbf
  • osvaldo12
  • ethstaker
  • tacticalgear
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • modclub
  • Youngstown
  • everett
  • slotface
  • rosin
  • GTA5RPClips
  • provamag3
  • khanakhh
  • cisconetworking
  • tester
  • ngwrru68w68
  • normalnudes
  • Durango
  • InstantRegret
  • cubers
  • megavids
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines