Debug::Message 1.00
Sponsored Links
Debug::Message 1.00 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
6252
Date added:
2007-05-01
Publisher:
ondra
Publisher URL:
http://search.cpan.org/~a
Debug::Message 1.00 description
Debug::Message is a Perl module that eases the use of debug print with level, indentation and color.
SYNOPSIS
use Debug::Message;
use Log::Dispatch;
use Log::Dispatch::Screen;
my $dispatcher = Log::Dispatch->new;
$dispatcher->add( Log::Dispatch::Screen->new( name => screen,
min_level => 0 ));
my $info = Debug::Message->new(1);
$info->add_dispatcher($dispatcher);
$info->print("print");
$info->yellow("warn");
$info->red("err");
$info->printcn("error message", bold red);
my $critical = Debug::Message->new(5);
$critical->add_dispatcher($dispatcher);
$critical->redn("err");
For disabling the debugging simply do not attach any dispatchers.
$critical->disable; # Will detach the attached backend
There was no module for simple debug messages supporting debug/verbosity levels and indentation. So this is the one, that is supposed to take this place.
This module is an art of frontend to Log::Dispatch as Log::Dispatch itself supports levels, but no colors and the functions calling is tedious.
There are some methods defined. Each outputs a different color, optionally it can add a newline after the messaage. They dispatch the messages to all added dispatchers, but generaly only one will be needed as the Log::Dispatch itself can have more backends.
SYNOPSIS
use Debug::Message;
use Log::Dispatch;
use Log::Dispatch::Screen;
my $dispatcher = Log::Dispatch->new;
$dispatcher->add( Log::Dispatch::Screen->new( name => screen,
min_level => 0 ));
my $info = Debug::Message->new(1);
$info->add_dispatcher($dispatcher);
$info->print("print");
$info->yellow("warn");
$info->red("err");
$info->printcn("error message", bold red);
my $critical = Debug::Message->new(5);
$critical->add_dispatcher($dispatcher);
$critical->redn("err");
For disabling the debugging simply do not attach any dispatchers.
$critical->disable; # Will detach the attached backend
There was no module for simple debug messages supporting debug/verbosity levels and indentation. So this is the one, that is supposed to take this place.
This module is an art of frontend to Log::Dispatch as Log::Dispatch itself supports levels, but no colors and the functions calling is tedious.
There are some methods defined. Each outputs a different color, optionally it can add a newline after the messaage. They dispatch the messages to all added dispatchers, but generaly only one will be needed as the Log::Dispatch itself can have more backends.
Debug::Message 1.00 Screenshot
Sponsored Links
Debug::Message 1.00 Keywords
Message 1.00
DebugMessage
Use of
Perl module
module
print
level
indentation
Info-
debug
Debug::Message 1.00
Libraries
Programming
Bookmark Debug::Message 1.00
Debug::Message 1.00 Copyright
WareSeeker periodically updates pricing and software information of Debug::Message 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 Debug::Message 1.00 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
Debug::Message 1.00 Related Software
Orion Secure Message Gateway is a secure message gateway for transporting ebXML, SOAP, and custom message formats.
C++ Debugging Support library is a ostream-based debug output and memory allocation debug support library.
Mail::Message::Field::Full is a Perl module that can construct one smart line in a message header.
Debug::FaultAutoBT is a Perl module for automatic backtrace extractor on SIGSEGV, SIGBUS, etc.
Mail::Message::Head::ResentGroup is a Perl module with header fields tracking message delivery.
Debug::Phases is a Perl module to announce BEGIN and INIT phases to help locate problems.
Mail::Message::Convert is a Perl module for conversions between message types.
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