dtRdr::Logger 0.0.11
Sponsored Links
dtRdr::Logger 0.0.11 Ranking & Summary
File size:
2.8 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
8109
Date added:
2007-03-16
Publisher:
Eric Wilhelm
Publisher URL:
http://search.cpan.org/~e
dtRdr::Logger 0.0.11 description
dtRdr::Logger is a Perl module for global logging.
SYNOPSIS
use dtRdr::Logger;
L->debug($message, ...);
L->info($message, ...);
L->warn($message, ...);
L->error($message, ...);
L->fatal($message, ...);
For a stacktrace:
sub bar {
L()->logcluck("foo");
}
See Log::Log4perl for more info.
ABOUT
This (currently) installs a $SIG{__WARN__}, though well probably try to move away from that.
import
dtRdr::Logger->import(@args);
Get Logger
L
A shortcut to return a logger object FOR YOUR NAMESPACE with an optional list of subtags.
L($subtag);
Example:
package My::Package;
my $logger = L;
my $logger = L(#foo);
Now $logger will log into the class log4perl.logger.My.Package.#foo.
$subtag MUST start with a #. If this is omitted, it will be changed.
RL
A shortcut to a root-level logger.
RL($tag);
my $logger = RL(#foo);
Now $logger which will log into the class log4perl.logger.#foo.
$tag MUST start with a #. If this is omitted, it will be changed.
editor
Launches $ENV{THOUT_EDITOR} with a tempfile containing $string.
Just a handy way to get some debugging data into an editor.
dtRdr::Logger->editor($string);
Or, to do lazy evaluation only when needed, pass a sub that returns a string.
dtRdr::Logger->editor(sub {do_stuff_that_takes_time()});
DBG_DUMP
Similar to editor, but writes to a tempfile in "/tmp/$filename".
DBG_DUMP($ENV_NAME, $filename, sub {$content});
Only acts if $ENV{"DBG_$ENV_NAME"} is set.
DBG_FOO=1 ./Build test
...will cause this
DBG_DUMP(foo, thisfile.txt, sub {$blah});
...to write the content of $blah to /tmp/thisfile.txt.
The sub {$thing} thing is a speed hack, but that variable is big enough to make you want to open it in an editor, so...
init
dtRdr::Logger->init(filename => "foo");
SYNOPSIS
use dtRdr::Logger;
L->debug($message, ...);
L->info($message, ...);
L->warn($message, ...);
L->error($message, ...);
L->fatal($message, ...);
For a stacktrace:
sub bar {
L()->logcluck("foo");
}
See Log::Log4perl for more info.
ABOUT
This (currently) installs a $SIG{__WARN__}, though well probably try to move away from that.
import
dtRdr::Logger->import(@args);
Get Logger
L
A shortcut to return a logger object FOR YOUR NAMESPACE with an optional list of subtags.
L($subtag);
Example:
package My::Package;
my $logger = L;
my $logger = L(#foo);
Now $logger will log into the class log4perl.logger.My.Package.#foo.
$subtag MUST start with a #. If this is omitted, it will be changed.
RL
A shortcut to a root-level logger.
RL($tag);
my $logger = RL(#foo);
Now $logger which will log into the class log4perl.logger.#foo.
$tag MUST start with a #. If this is omitted, it will be changed.
editor
Launches $ENV{THOUT_EDITOR} with a tempfile containing $string.
Just a handy way to get some debugging data into an editor.
dtRdr::Logger->editor($string);
Or, to do lazy evaluation only when needed, pass a sub that returns a string.
dtRdr::Logger->editor(sub {do_stuff_that_takes_time()});
DBG_DUMP
Similar to editor, but writes to a tempfile in "/tmp/$filename".
DBG_DUMP($ENV_NAME, $filename, sub {$content});
Only acts if $ENV{"DBG_$ENV_NAME"} is set.
DBG_FOO=1 ./Build test
...will cause this
DBG_DUMP(foo, thisfile.txt, sub {$blah});
...to write the content of $blah to /tmp/thisfile.txt.
The sub {$thing} thing is a speed hack, but that variable is big enough to make you want to open it in an editor, so...
init
dtRdr::Logger->init(filename => "foo");
dtRdr::Logger 0.0.11 Screenshot
Sponsored Links
dtRdr::Logger 0.0.11 Keywords
DBG
ENV
Logger 0.0.11
DUMP
Perl module
logger
editor
sub
message
l
Perl
dtRdrLogger
dtRdr::Logger 0.0.11
Libraries
Programming
Bookmark dtRdr::Logger 0.0.11
dtRdr::Logger 0.0.11 Copyright
WareSeeker periodically updates pricing and software information of dtRdr::Logger 0.0.11 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 dtRdr::Logger 0.0.11 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
dtRdr::Logger 0.0.11 Related Software
PerlIO::via::Logger is a PerlIO layer for prefixing current time to log output.
dtRdr::doc::AnnotationServers is a Perl module that contains remote annotation server details.
dtRdr::GUI::Wx::SearchTree is a Perl module that can display search results as a tree.
dtRdr::GUI::Wx::NoteEditorBase is a base class for the NoteEditor.
dtRdr::Config is a Perl module with Factory class for configuration system.
dtRdr::Hack is a Perl module with self-documenting adaptive finger-wagging global vars.
dtRdr::Annotation::IO::YAML is a Perl module to read/write annotations from/to yml files.
dtRdr::Book::ThoutBook_1_0 is a Perl module with the unpacked ThoutBook reader.
mysqmail-qmail-logger is a very small daemon that logs SMTP traffic such as successful delivery and relaying to an SQL database.
The Project Logger provides a simple yet effective means of keeping people informed about the progress of projects.
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD