Log::StdLog

Log::StdLog is a Perl module with a simple log file via a special filehandle.
Download

Log::StdLog Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Damian Conway
  • Publisher web site:
  • http://search.cpan.org/~dconway/

Log::StdLog Tags


Log::StdLog Description

Log::StdLog is a Perl module with a simple log file via a special filehandle. Log::StdLog is a Perl module with a simple log file via a special filehandle.SYNOPSIS use Log::StdLog { level => 'warn', file => "$0.log" }; # Messages at the same or a higher level are logged... print {*STDLOG} error => "This error message will be loggedn"; print {*STDLOG} warn => "This warning message will be loggedn"; # Messages at a lower level are ignored... print {*STDLOG} info => "This info message will NOT be loggedn"; # The default message level is the one that was specified # when the module was loaded... print {*STDLOG} "This is a warning message. It will be loggedn";This module provides a very simple kind of log file, with a very simple interface. Messages are logged simply by printing to *STDLOG, which the module exports to any namespace into which it's loaded. Requirements: · Perl


Log::StdLog Related Software