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

Based on boost #7

Closed
leonpierre opened this issue Oct 10, 2013 · 3 comments
Closed

Based on boost #7

leonpierre opened this issue Oct 10, 2013 · 3 comments

Comments

@leonpierre
Copy link

You forgot to mention that this library based on boost and boost is not lightweight! Correct me if I'm wrong!?

thx

@Answeror
Copy link
Contributor

Actually, all of my C++ projects depends on boost.

As far as I know, boost is the best documented C++ library and easy to
build. Mlog depends on boost system and filesystem, you can build these two
libs within 2 minutes. And the header only boost is lightweight,
I think.

By the way, boost 1.54.0 provide a logging library officially :)

I agree the dependencies should be mentioned in README.

On Thu, Oct 10, 2013 at 5:29 PM, leonpierre notifications@github.comwrote:

You forgot to mention that this library based on boost and boost is not
lightweight! Correct me if I'm wrong!?

thx


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

@ghost
Copy link

ghost commented Oct 10, 2013

It's also worth mentioning that there is a library based on boost::filesystem in the workds for C++14/17 (which can already be found in Microsoft's WinRT), and I believe that as of C++11, boost::system maps to std::errc. So it seems possible in the future that these library dependencies will only be needed for backwards compatibility.

I for one will say that I prefer mlog over boost::log because it is much, much lighter (and we already use boost as well).

@zschoche
Copy link
Owner

In my opinion, boost is always part of the game in modern c++. Anyway, the dependence exists and I see no way to remove it in a smart way at the moment. I will add comments in the README.md.

By the way: boost::log is very very slow. That was one of my reasons to start this library. I'll try to find time for a blog post about that.

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