is breaks a lot of its nice features and
in the long run will reduce the flexibility that it offers, which is
disappointing since it is incredibly flexible/powerful. Log4perl already
implements a singleton 'logger' anyways, why not use it?
http://danconia.org
> my($level, $msg) =
Hi
I need a GL::Logger wich implements Class::Singleton
to be a singleton and Log::Log4perl to can log amy
message into a file. Here is the module source:
-
package GL::Logger;
use Class::Singleton;
use vars qw( $ERROR );
@ISA