Fix warning in Logger::_Duplicate (Fixes: #1842)
This commit is contained in:
parent
a1df1157f4
commit
ee3d12d02f
|
@ -18,6 +18,7 @@ sub AUTOLOAD {
|
|||
my $self = shift;
|
||||
no strict;
|
||||
$AUTOLOAD =~ s/.*:://;
|
||||
return if $AUTOLOAD eq 'DESTROY';
|
||||
$self->{logger}->$AUTOLOAD(@_);
|
||||
my $msg = shift;
|
||||
$msg = "[$AUTOLOAD] $msg";
|
||||
|
|
Loading…
Reference in New Issue
Block a user