->message(0, ...) sollte wieder funktionieren
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 23 Mar 2007 13:23:30 +0000 (13:23 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 23 Mar 2007 13:23:30 +0000 (13:23 +0000)
SL/LXDebug.pm

index 1071ef3..59a6579 100644 (file)
@@ -97,7 +97,7 @@ sub leave_sub {
 
 sub message {
   my ($self, $level, $message) = @_;
-  $self->_write(level2string($level), $message) if (($self->{"level"} | $global_level) & $level);
+  $self->_write(level2string($level), $message) if (($self->{"level"} | $global_level) & $level || !$level);
 }
 
 sub dump {