Hi Francis,

counter question: Why not?

Private loggers give you more control over log the log configuration.

Protected loggers are for lazy people, who don't want to declare a logger in 
every derived class.
If you know for sure that you're not going to need a private logger in every 
derived class, why not make it protected in the base class?

So it's a matter of taste - I personally decide from case to case.

Regards
Rainer


Francis De Brabandere wrote:
> re: non-private loggers?
> 
> Why are some loggers protected instead of private?
> 
> --
> http://www.somatik.be
> Microsoft gives you windows, Linux gives you the whole house.

Reply via email to