Boost logo

Boost :

Subject: [boost] Boost.log: set_channel name dynamically for a basic_composite_logger
From: syvyi (alexander.svk_at_[hidden])
Date: 2012-10-12 07:35:59


Hi,

how to set attribute dynamically for a composite logger?

lass my_logger_mt :
    public src::basic_composite_logger<
        char,
        my_logger_mt,
                src::multi_thread_model<boost::log_mt_nt5::aux::light_rw_mutex>,
        src::features<
            src::severity< severity_levels >,
            src::exception_handler,
                        src::channel< std::string >
>
>
{
    BOOST_LOG_FORWARD_LOGGER_CONSTRUCTORS(my_logger_mt)
};

--
View this message in context: http://boost.2283326.n4.nabble.com/Boost-log-set-channel-name-dynamically-for-a-basic-composite-logger-tp4637012.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