
On Saturday 20 October 2012 09:11:45 syvyi wrote:
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.
Probably, because you didn't initialize the wide character part of the library? Logging library components for different character types are not related in the current trunk.