Hi,
I have been using log4cpp for a while now, but I have never been sure on
the 'best' way to organise log categories within my classes. Should I
define a log category within each class, and get one category per class,
or get a global instance per implementation file, or possibly create a
shared instance to be shared amongst a group of classes?
I guess there are probably different techniques for different scenarios,
but I would be interested to hear how other people are doing this.
~Colin.
|