Log::Dispatch::File::Rolling 1.04
Sponsored Links
Log::Dispatch::File::Rolling 1.04 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::Rolling 1.04 description
Log::Dispatch::File::Rolling is a Perl object for logging to date/time/pid stamped files.
SYNOPSIS
use Log::Dispatch::File::Rolling;
my $file = Log::Dispatch::File::Rolling->new(
name => file1,
min_level => info,
filename => Somefile%d{yyyyMMdd}.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:
fork()-safe
This module will close and re-open the logfile after a fork.
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. Repeat the character to define how many character wide the field should be. This should not be needed regularly as this module also supports logfile sharing between processes, but if youve got a high load on your logfile or a system that doesnt support flock()...
SYNOPSIS
use Log::Dispatch::File::Rolling;
my $file = Log::Dispatch::File::Rolling->new(
name => file1,
min_level => info,
filename => Somefile%d{yyyyMMdd}.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:
fork()-safe
This module will close and re-open the logfile after a fork.
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. Repeat the character to define how many character wide the field should be. This should not be needed regularly as this module also supports logfile sharing between processes, but if youve got a high load on your logfile or a system that doesnt support flock()...
Log::Dispatch::File::Rolling 1.04 Screenshot
Advertisements
Log::Dispatch::File::Rolling 1.04 Keywords
Log4perl
Rolling 1.04
Perl Object
module
files
logging
stamped
object
1.04
Log::Dispatch::File::Rolling
LogDispatchFileRolling
Log::Dispatch::File::Rolling 1.04
Libraries
Programming
Bookmark Log::Dispatch::File::Rolling 1.04
Log::Dispatch::File::Rolling 1.04 Copyright
WareSeeker periodically updates pricing and software information of Log::Dispatch::File::Rolling 1.04 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::Rolling 1.04 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::Alerts is a Perl object for logging to alert files. Free Download
Log::Dispatch::Config is a Log4j for Perl. Free Download
Log::Dispatch::ToTk provides class to redirect Log::Dispatch to Tk widgets. 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
ConfigFile for Haskell is a configuration file parser and writer library for Haskell. Free Download
libbatch implements typical batch process functions. Free Download
Oracle::Trace is a Perl Module for parsing Oracle Trace files. Free Download
Latest Software
Popular Software
Favourite Software