Subject: | logwarn() and logdie() |
Awesome module. Love it and really hope it gets put in core perl.
I was wondering if you'd consider adding logwarn() and logdie() methods?
A number of logging packages (well at least log4Perl) contain these
very useful shortcuts for logging with a warning or logging and then
exiting. Its rather nice to be able to replace:
$logger->fatal($err) && die($err);
with
$log->logdie($err);
Cheers