|
Boost Users : |
Subject: [Boost-users] [log] BOOST_LOG_GLOBAL_LOGGER_* in DLL
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2014-03-19 20:04:44
I'm trying to use
BOOST_LOG_GLOBAL_LOGGER_DEFAULT( my_logger,
boost::log::sources::severity_logger_mt<boost::log::trivial::severity_level>
)
In a dll but it doesn't appear to be getting initialized.
The first BOOST_LOG_SEV results in a crash due to core being null.
How do I initialize a global logger in a DLL?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net