
The code I inserted above is the code which worked without adding loggers handling wchar_t. When I add manster::logger::instance( )->initialize( ); std::basic_string< TCHAR> consequence = _T( "FormatMessage failure reason is not extracted" );\ LOG_MEM_ALLOC_ERR( consequence, true ); to test added code debugger gets void log( logger_type const & lg_type, std::wstring const & logged_data, severity_level const & lvl ) { if ( initialized ) BOOST_LOG_SEV( wloggers_map[ lg_type ], lvl ) << logged_data.data( ); } , however I do not see created folder log with file inside it. -- View this message in context: http://boost.2283326.n4.nabble.com/Boost-log-set-channel-name-dynamically-fo... Sent from the Boost - Dev mailing list archive at Nabble.com.