lemonldap-ng/lemonldap-ng-common/lib/Lemonldap/NG/Common/Logger/Apache2.pm

18 lines
250 B
Perl
Raw Normal View History

2017-02-12 21:09:46 +01:00
package Lemonldap::NG::Common::Logger::Apache2;
2017-02-12 21:19:39 +01:00
use Apache2::ServerRec;
2019-02-12 18:21:38 +01:00
our $VERSION = '2.1.0';
2017-02-28 21:53:19 +01:00
2017-02-15 07:41:50 +01:00
sub new {
2017-02-13 12:58:39 +01:00
return bless {}, shift;
}
2017-02-12 21:19:39 +01:00
2017-02-12 21:09:46 +01:00
sub AUTOLOAD {
shift;
$AUTOLOAD =~ s/.*:://;
return Apache2::ServerRec->log->$AUTOLOAD(@_);
2017-02-15 07:41:50 +01:00
}
2017-02-12 21:09:46 +01:00
1;