Boost logo

Boost :

Subject: Re: [boost] [log] Review-ready version in the Vault
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-02-11 14:09:08


vicente.botet wrote:
> Hi,
> I have just started to read the documentation, and it is not easy to make the distinction between a elements in the library and the others. Can I suggest to rename the namesapce alias? Instead of
>
> namespace logging = boost::log;
> namespace sinks = boost::log::sinks;
> namespace src = boost::log::sources;
> namespace fmt = boost::log::formatters;
> namespace flt = boost::log::filters;
> namespace attrs = boost::log::attributes;
>
> use
> namespace blog = boost::log;
> namespace blsinks = boost::log::sinks;
> namespace blsrc = boost::log::sources;
> namespace blfmt = boost::log::formatters;
> namespace blflt = boost::log::filters;
> namespace blattrs = boost::log::attributes;
>
> So every thing starting with bl is an element of the library.

Hmm... Don't you think that it mangles the aliases too much?


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