Boost logo

Boost :

Subject: Re: [boost] [log] Review-ready version in the Vault
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2009-02-10 03:58:54

On Tue, 10 Feb 2009 19:25:10 +1100, "Vladimir Batov" <batov_at_[hidden]>

> Hmm, I honestly think that having "loggers as class members" is a bad
> I do not usually like global objects either (static initialization
> too much visibility). However, what I definitely use a lot is retrieving
> the
> same log by name in different compilation modules (that takes the
> visibility
> down). Like
> boost::log log1(name);
> boost::log log2(name); // The same as log1

I think you should be able to do this using the new flyweight library.


Boost list run by bdawes at, gregod at, cpdaniel at, john at