| 1 | package Lemonldap::NG::Common::Logger::Apache2; | ||
| 2 | |||
| 3 | use Apache2::ServerRec; | ||
| 4 | |||
| 5 | our $VERSION = '2.0.0'; | ||
| 6 | |||
| 7 | sub new { | ||
| 8 | return bless {}, shift; | ||
| 9 | } | ||
| 10 | |||
| 11 | sub AUTOLOAD { | ||
| 12 | shift; | ||
| 13 | $AUTOLOAD =~ s/.*:://; | ||
| 14 | return Apache2::ServerRec->log->$AUTOLOAD(@_); | ||
| 15 | } | ||
| 16 | |||
| 17 | 1; |