Log::Dispatch::File::Alerts 1.00
Sponsored Links
Log::Dispatch::File::Alerts 1.00 Ranking & Summary
File size:
0.005 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
869
Date added:
2007-06-07
Publisher:
M. Jacob
Log::Dispatch::File::Alerts 1.00 description
Log::Dispatch::File::Alerts is a Perl object for logging to alert files.
SYNOPSIS
use Log::Dispatch::File::Alerts;
my $file = Log::Dispatch::File::Alerts->new(
name => file1,
min_level => emerg,
filename => Somefile%d{yyyy!!!!}.log,
mode => append );
$file->log( level => emerg,
message => "Ive fallen and I cant get upn" );
ABSTRACT
This module provides an object for logging to files under the Log::Dispatch::* system.
This module subclasses Log::Dispatch::File for logging to date/time stamped files. See Log::Dispatch::File for instructions on usage. This module differs only on the following three points:
alert files
This module will use a seperate file for every log message.
multitasking-safe
This module uses flock() to lock the file while writing to it.
stamped filenames
This module supports a special tag in the filename that will expand to the current date/time/pid.
It is the same tag Log::Log4perl::Layout::PatternLayout uses, see Log::Log4perl::Layout::PatternLayout, chapter "Fine-tune the date". In short: Include a "%d{...}" in the filename where "..." is a format string according to the SimpleDateFormat in the Java World (http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html). See also Log::Log4perl::DateFormat for information about further restrictions.
In addition to the format provided by Log::Log4perl::DateFormat this module also supports $ for inserting the PID and ! for inserting a uniq number. Repeat the character to define how many character wide the field should be.
A note on the !: The module first tries to find a fresh filename with this set to 1. If there is already a file with that name then it is increased until either a free filename has been found or it reaches 9999. In the later case the module dies.
SYNOPSIS
use Log::Dispatch::File::Alerts;
my $file = Log::Dispatch::File::Alerts->new(
name => file1,
min_level => emerg,
filename => Somefile%d{yyyy!!!!}.log,
mode => append );
$file->log( level => emerg,
message => "Ive fallen and I cant get upn" );
ABSTRACT
This module provides an object for logging to files under the Log::Dispatch::* system.
This module subclasses Log::Dispatch::File for logging to date/time stamped files. See Log::Dispatch::File for instructions on usage. This module differs only on the following three points:
alert files
This module will use a seperate file for every log message.
multitasking-safe
This module uses flock() to lock the file while writing to it.
stamped filenames
This module supports a special tag in the filename that will expand to the current date/time/pid.
It is the same tag Log::Log4perl::Layout::PatternLayout uses, see Log::Log4perl::Layout::PatternLayout, chapter "Fine-tune the date". In short: Include a "%d{...}" in the filename where "..." is a format string according to the SimpleDateFormat in the Java World (http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html). See also Log::Log4perl::DateFormat for information about further restrictions.
In addition to the format provided by Log::Log4perl::DateFormat this module also supports $ for inserting the PID and ! for inserting a uniq number. Repeat the character to define how many character wide the field should be.
A note on the !: The module first tries to find a fresh filename with this set to 1. If there is already a file with that name then it is increased until either a free filename has been found or it reaches 9999. In the later case the module dies.
Log::Dispatch::File::Alerts 1.00 Screenshot
Advertisements
Log::Dispatch::File::Alerts 1.00 Keywords
Log4perl
Alerts 1.00
to alert
Perl Object
module
files
logging
filename
object
alert
Log::Dispatch::File::Alerts
LogDispatchFileAlerts
Log::Dispatch::File::Alerts 1.00
Libraries
Programming
Bookmark Log::Dispatch::File::Alerts 1.00
Log::Dispatch::File::Alerts 1.00 Copyright
WareSeeker periodically updates pricing and software information of Log::Dispatch::File::Alerts 1.00 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Log::Dispatch::File::Alerts 1.00 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Log::Dispatch::File::Rolling is a Perl object for logging to date/time/pid stamped files. Free Download
Log::Dispatch::Config is a Log4j for Perl. Free Download
Log::Dispatch::TkText provides a Text widget for Log::Dispatch. Free Download
Log::Dispatch::Atom is a Perl module to log to an atom feed. Free Download
Log::Dispatch::ToTk provides class to redirect Log::Dispatch to Tk widgets. Free Download
ConfigFile for Haskell is a configuration file parser and writer library for Haskell. Free Download
Similars is a Perl module that can locate similar files. Free Download
libbatch implements typical batch process functions. Free Download
Latest Software
Popular Software
Favourite Software