Log::Agent::Logger

Log::Agent::Logger is a logging interface in Perl.
Download

Log::Agent::Logger Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Raphael Manfredi
  • Publisher web site:
  • http://search.cpan.org/~mrogaski/Log-Agent-0.307/Agent/Tag/Callback.pm

Log::Agent::Logger Tags


Log::Agent::Logger Description

Log::Agent::Logger is a logging interface in Perl. Log::Agent::Logger is a logging interface in Perl.SYNOPSIS require Log::Agent::Logger; my $log = Log::Agent::Logger->make( -channel => $chan, -max_prio => 'info', -min_prio => 'emerg', ); $log->error("can't open file %s: $!", $file); $log->warning("can't open file: $!");The Log::Agent::Logger class defines a generic interface for application logging. It must not be confused with the interface provided by Log::Agent, which is meant to be used by re-usable modules that do not wish to commit on a particular logging method, so that they remain true building blocks.By contrast, Log::Agent::Logger explicitely requests an object to be used, and that object must commit upon the logging channel to be used, at creation time.Optionally, minimum and maximum priority levels may be defined (and changed dynamically) to limit the messages to effectively log, depending on the advertised priority. The standard syslog(3) priorities are used. Requirements: · Perl


Log::Agent::Logger Related Software