
11 Mar
2010
11 Mar
'10
4:33 p.m.
On 03/11/2010 01:28 PM, Barend Gehrels wrote:
Hi Andrey,
Boost.Log is not header only, and uses Boost libraries which are not header only.
The logging library also uses several Boost libraries that need building too. These are Boost.Filesystem, Boost.System, Boost.DateTime, Boost.Thread and Boost.Regex
Is it possible to use Boost.Log in header-only mode, assuming a simple use case without threads and separate DLLs?
No, the library has to be compiled anyway. However, if your application is a single .exe module, you can link statically with Boost.Log and other libraries.