I am currently evaluating some log frameworks for unmanaged C++.
My question is: what is the difference between Boost.Log and Boost.Log v2?
Is the Api is different?
Is it safe to use Boost.Log v2 in a project or should I stick with Boost.Log 1.1?
When will be accepted into Boost? It may suffer major changes in the future?
Boost. Log, part of collection of the Boost C++ Libraries, provides tools for adding logging to libraries and applications.
The C++ compiler has two very useful defines for logging: the __FILE__ and __LINE__ defines, which contain the name of the file and the line in which they are placed and can help you track down the location of the error. Because I am using the compiler define, they are automatically inserted into the correct place.
Beware that the version "1.0" available is not being maintained. To receive updates you must use the bleeding edge (trunk) version which might become unstable. Take this into account if you are going to use this version in any serious projects. If you are not afraid to use bleeding edge versions or future breakage, then go for it. It's really nice to use as it is in its current state.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With