btrbk: tidy log functions

disable-ssh-password-prompt
Axel Burri 2022-07-27 18:19:46 +02:00
parent 805ab93fef
commit c5cb919f6c
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -483,7 +483,7 @@ END_HELP_BTRBK
#80-----------------------------------------------------------------------------
}
sub _log_cont { my $p = shift; print STDERR $p . join("\n${p}... ", @_) . "\n"; }
sub _log_cont { my $p = shift; print STDERR $p . join("\n${p}... ", grep defined, @_) . "\n"; }
sub TRACE { print STDERR map { "___ $_\n" } @_ if($loglevel >= 4) }
sub DEBUG { _log_cont("", @_) if($loglevel >= 3) }
sub INFO { _log_cont("", @_) if($loglevel >= 2) }