Boost logo

Boost :

Subject: Re: [boost] [log] Review-ready version in the Vault
From: Peter Simons (simons_at_[hidden])
Date: 2009-02-11 06:16:19


Hi Vladimir,

> I honestly think that having "loggers as class members" is a bad
> idea. [A class] represents a certain domain-specific abstraction and
> encapsulates the data and behavior relevant to that abstraction. A
> logger does not fit that description for me.

whether a logger fits into that description or not depends very much on
the domain-specific thing that a particular class is supposed to
represent. For instance, it's not hard to imagine classes that include
logging as a part of their specification.

Take care,
Peter


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