2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-13 00:22:22 +00:00

Temporarily reverted the last commit [86164], until 1.55 beta ships.

[SVN r86166]
This commit is contained in:
Andrey Semashev
2013-10-05 19:02:18 +00:00
parent 6e6ad59e52
commit 56bb6f2dca
5 changed files with 141 additions and 80 deletions

View File

@@ -252,6 +252,10 @@ public:
m_default_sink(boost::make_shared< sinks::aux::default_sink >()),
m_enabled(true)
{
// Workaround for https://svn.boost.org/trac/boost/ticket/8642
// Initialize global locale in Boost.Filesystem early, so that it is still available while the logging core is destroyed.
// Note that this only helps in the simplest case, when the core is not kept alive by a shared_ptr saved by user.
filesystem::path::codecvt();
}
//! Invokes sink-specific filter and adds the sink to the record if the filter passes the log record