]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl add log_stdout method
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 5 Sep 2006 18:53:58 +0000 (18:53 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 5 Sep 2006 18:53:58 +0000 (18:53 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3412 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lib/Bconsole.pm

index 4c61330c2eaf45874c94b3bc2759986b283cfd0d..101a65bc6e304a02060df3af8eef7182cced5cfa 100644 (file)
@@ -94,6 +94,17 @@ sub expect_it
     return 1;
 }
 
+sub log_stdout
+{
+    my ($self, $how) = @_;
+
+    if ($self->{bconsole}) {
+       $self->{bconsole}->log_stdout($how);
+    }
+    
+    $self->{log_stdout} = $how;
+}
+
 sub connect
 {
     my ($self) = @_;