Boost.Log uses a global singleton "core" object through which all log messages pass. It seems then, that it would not be straightforward to have two independent tasks on separate threads with effectively independent and separately configurable logging stacks.
For example, suppose class A and class B both call class C, and all three classes perform logging. However, I'd like the work initiated by class A to be logged to file "a.log", and the work initiated by class B to be logged to file "b.log". Is there an idiomatic way to achieve this outcome in Boost.Log?
My application is dynamic linked C++, built on VC++ 2015/Windows and GCC 4.8.4/Ubuntu.