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:
906
Date added:
2007-05-01
Publisher:
ondra
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
Debug::Message 1.00 Keywords
Message 1.00
Perl module
module
print
level
Info-
indentation
color
Debug::Message
DebugMessage
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 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
mod_debug gives an html-header with request-information. Free Download
Message::Style is a Perl module to perform stylistic analysis of messages. Free Download
Debug::Trace is a Perl extension to trace subroutine calls. Free Download
Devel::Messenger is a Perl module who let your code talk to you. Free Download
Apache::Storage is Perl module containing simple functions to store and retrieve information from within the Apache process. Free Download
Debug::Phases is a Perl module to announce BEGIN and INIT phases to help locate problems. Free Download
Module::Build::TestReporter is a Perl module to help users report test failures. Free Download
Games::Sudoku::General is a Perl module that can solve sudoku-like puzzles. Free Download
Latest Software
Popular Software
Favourite Software