Conversation
Is there a #logging library that provides nice interfaces (not N config variables) for both:

- "Reliable" logging, when you want to e.g. flush every message immediately because you are debugging
- "Performant" logging, when you don't want to waste time on I/O?

(what's the proper terminology here?)

There must be of course middle-ground, e.g. I imagine errors should always be recorded reliably in many situations, but I imagine that e.g. auto-tweaking performance on debug log level would be reasonable.
1
1
1

@buherator what language? I think the goto for c++ is spdlog

1
0
0
@wirepair Thanks I'll take a look. Language is less important, I'm more interested in the API design rn.
1
0
0

@buherator oh in that case, log4j for sure :grin:

0
0
1