[log4perl-devel] Categories - doc/implementation problem ??

2012-11-24 Thread David Pointon
Hi , I'm sure I can't be the only one to have tried the my $logger = Log::Log4perl->new($class); way of dynamically creating a category as suggested here (http://search.cpan.org/~mschilli/Log-Log4perl-1.39/lib/Log/Log4perl.pm#Categories) but end up with a 'THIS CLASS ISN'T FOR DIRECT USE. PLEA

[log4perl-devel] API for fetching the category from a logger?

2012-11-24 Thread danny-log4perl
I can't see an API for fetching the category of a logger. Is there a reason for that? In particular, I'd like to make a "daughter" logger from an existing one. i.e. given my $logger = get_logger("com.sadinoff.hello"); . . . I'd like to say my $subLogger = $logger->get_daughter_logge