From 73c7ff07b5152296b7c37bb2a9e6c42cd6701cb2 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Sun, 30 Jan 2000 08:03:49 +0000 Subject: [PATCH] change print line in debug() method to print to STDERR instead of STDOUT. --- src/lib/Spong/Log.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Spong/Log.pm b/src/lib/Spong/Log.pm index 6a157bd..d3ef7e9 100755 --- a/src/lib/Spong/Log.pm +++ b/src/lib/Spong/Log.pm @@ -92,7 +92,7 @@ sub error { sub debug { my ($message,$level) = @_; $level = 1 if (! defined $level); # Default to level 1 - print scalar localtime, " ", $message, "\n" if $debuglevel >= $level; + print STDERR scalar localtime, " ", $message, "\n" if $debuglevel >= $level; } 1; # I'm included perl code, I need this line -- 2.30.2