morganstanley/binlog

Comparison between Nanolog

Opened this issue · 5 comments

Are you looking for a comparison? From which aspect? Runtime or compilation performance, features, loggable types, supported platforms, documentation, ...?

Yes, a comparison. mainly about performance, especially with multi-thread support

@oPiZiL It seems like the main benefit of using binlog over NanoLog is that binlog does not depend on a background thread and provides the user with full control over when to consume the log lines produced, allowing the library to be used in strictly single-threaded applications.

In fact this is also raised as an issue for NanoLog (PlatformLab/NanoLog#43).

@erenon just to check if my understanding is correct?

In that sense, binlog works as you described it: the application (user) is in control of the consuming.
There are probably other differences, but I don't know nanolog enough to list them. I can confirm binlog features though.

@erenon sorry I wasn't clear, was just looking for your help to confirm how binlog works. Thanks!