Boost logo

Boost :

Subject: Re: [boost] Boost.log: set_channel name dynamically for a basic_composite_logger
From: syvyi (alexander.svk_at_[hidden])
Date: 2012-10-20 12:11:45


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-for-a-basic-composite-logger-tp4637012p4637373.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk