Boost logo

Boost :

Subject: [boost] [log] init methods and named parameters
From: Michael Caisse (boost_at_[hidden])
Date: 2010-02-27 15:26:42


I've gotten a head start looking at the boost.log
library that will be reviewed in a couple weeks.

The utility methods utilize boost.parameter's named
parameters. For example, boost::log::init_log_to_file.

I would like to decide at runtime (via a config file)
which set of parameters will listed. For example,
rotation_size or rotation_interval or both.

It is my first real use of boost.parameter so I may
be missing something that is common knowledge. I
don't see an easy way to do this. I thought maybe
building a fusion sequence of parameters or something
like that was the way to go...

Looking for guidance. Thanks.
michael

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com

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