Fix warning in Logger::_Duplicate (Fixes: #1842)

This commit is contained in:
Xavier Guimard 2019-07-10 10:41:38 +02:00
parent a1df1157f4
commit ee3d12d02f

View File

@ -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";