Log-Handler 0.35 Perl script

SPONSORED LINKS

    Specification

  • Version: 0.35
  • File size: 0 KB
  • File name: Log-Handler-0.11.tar.gz
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Perl
  • Price:Other Free / Open So
  • Company: Jonny Schulz (View more)

Log-Handler 0.35 script description:




Publisher review:
Log-Handler module is a simple handler to log messages to log files. This module is just a simple log file handler. It's possible to define a log level for your programs and control the amount of informations that be logged to the log file.

In addition it's possible to define how you wish to open the log file, transient or permanent and if you wish you can assign the handler to check the inode of the log file. This could be very useful if a rotate mechanism moves and zip the log file but you shouldn't forget that inodes aren't available on windows.hat inode;SYNOPSIS

use Log::Handler;

my $log = Log::Handler->new( filename => $logfile, mode => 'append' );

$log->alert("foo bar");

METHODSnew()Call "new()" to create a new log handler object.

The "new()" method expected the options for the log file. The only one mandatory option is "filename". All other options will be set to a default value.

Log levelsThere are eigth log levels and thirteen methods to handle this levels:

emergency(), emerg()alert()critical(), crit()error(), err()warning(), warn()notice(), note()info()debug()

"debug()" is the highest and "emergency()" or "emerg()" is the lowest log level. You can define the log level with the options "maxlevel" and "minlevel".

The methods "note()", "warn()", "err()", "crit()" and "emerg()" are just shortcuts.
Log-Handler 0.35 is a Perl script for Modules scripts design by Jonny Schulz. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5