Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison between Nanolog #100

Open
oPiZiL opened this issue Jan 4, 2021 · 5 comments
Open

Comparison between Nanolog #100

oPiZiL opened this issue Jan 4, 2021 · 5 comments

Comments

@oPiZiL
Copy link

oPiZiL commented Jan 4, 2021

https://github.com/PlatformLab/NanoLog

@erenon
Copy link
Contributor

erenon commented Jan 4, 2021

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

@oPiZiL
Copy link
Author

oPiZiL commented Jan 4, 2021

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

@lawrence-koh
Copy link

@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?

@erenon
Copy link
Contributor

erenon commented Sep 10, 2021

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.

@lawrence-koh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants