my $outfile; use Log::Log4perl qw(:easy); Log::Log4perl->easy_init( {level => $DEBUG, file => (defined $outfile ? $outfile : "STDOUT")}); DEBUG "hey!";
In reply to Re: Swiching between output to file and STDOUT
by saintmike
in thread Switching between output to file and STDOUT
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |