Log::Dispatch::Config 1.01
Sponsored Links
Log::Dispatch::Config 1.01 Ranking & Summary
File size:
0.011 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
864
Date added:
2007-06-12
Publisher:
Tatsuhiko Miyagawa
Log::Dispatch::Config 1.01 description
Log::Dispatch::Config is a Log4j for Perl.
SYNOPSIS
use Log::Dispatch::Config;
Log::Dispatch::Config->configure(/path/to/log.conf);
my $dispatcher = Log::Dispatch::Config->instance;
$dispatcher->debug(this is debug message);
$dispatcher->emergency(something *bad* happened!);
# automatic reloading conf file, when modified
Log::Dispatch::Config->configure_and_watch(/path/to/log.conf);
# or if you write your own config parser:
use Log::Dispatch::Configurator::XMLSimple;
my $config = Log::Dispatch::Configurator::XMLSimple->new(log.xml);
Log::Dispatch::Config->configure($config);
Log::Dispatch::Config is a subclass of Log::Dispatch and provides a way to configure Log::Dispatch object with configulation file (default, in AppConfig format). I mean, this is log4j for Perl, not with all API compatibility though.
METHOD
This module has a class method configure which parses config file for later creation of the Log::Dispatch::Config singleton instance. (Actual construction of the object is done in the first instance call).
So, what you should do is call configure method once in somewhere (like startup.pl in mod_perl), then you can get configured dispatcher instance via Log::Dispatch::Config->instance.
SYNOPSIS
use Log::Dispatch::Config;
Log::Dispatch::Config->configure(/path/to/log.conf);
my $dispatcher = Log::Dispatch::Config->instance;
$dispatcher->debug(this is debug message);
$dispatcher->emergency(something *bad* happened!);
# automatic reloading conf file, when modified
Log::Dispatch::Config->configure_and_watch(/path/to/log.conf);
# or if you write your own config parser:
use Log::Dispatch::Configurator::XMLSimple;
my $config = Log::Dispatch::Configurator::XMLSimple->new(log.xml);
Log::Dispatch::Config->configure($config);
Log::Dispatch::Config is a subclass of Log::Dispatch and provides a way to configure Log::Dispatch object with configulation file (default, in AppConfig format). I mean, this is log4j for Perl, not with all API compatibility though.
METHOD
This module has a class method configure which parses config file for later creation of the Log::Dispatch::Config singleton instance. (Actual construction of the object is done in the first instance call).
So, what you should do is call configure method once in somewhere (like startup.pl in mod_perl), then you can get configured dispatcher instance via Log::Dispatch::Config->instance.
Log::Dispatch::Config 1.01 Screenshot
Log::Dispatch::Config 1.01 Keywords
Config 1.01
Log4j
Perl
For Perl
configure
instance
Config
1.01
Log::Dispatch::Config
LogDispatchConfig
Log::Dispatch::Config 1.01
Libraries
Programming
Bookmark Log::Dispatch::Config 1.01
Log::Dispatch::Config 1.01 Copyright
WareSeeker periodically updates pricing and software information of Log::Dispatch::Config 1.01 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::Config 1.01 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
how to configure a router
configure pcsx2
configure gmail pop3
configure linksys router
for perl loop
ide for perl
configure router
average price for pearls
for perl array
eclipse for perl
uses for perl
for perl break
buy claps for pearl online
text editor for perl
perl for windows
gui for perl
configure outlook express
looking for pearl pendants
Related Software
Log::Dispatch::ToTk provides class to redirect Log::Dispatch to Tk widgets. Free Download
Dispatch Software is a Web-based dispatch system. Free Download
Log::Dispatch::File::Rolling is a Perl object for logging to date/time/pid stamped files. Free Download
Log::Dispatch::Atom is a Perl module to log to an atom feed. Free Download
Gimp::Config is a Perl module with config options found during configure time. Free Download
Log::Dispatch::File::Alerts is a Perl object for logging to alert files. Free Download
NetCARD Config project helps linux users to configure network cards for two ip one for DSL network one for Local Network. Free Download
Log::Dispatch::TkText provides a Text widget for Log::Dispatch. Free Download
Latest Software
Popular Software
Favourite Software