Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Catalyst::Plugin::Log::Colorful 0.15

    Download button

    No screenshots available
    Downloads: 199  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daisuke Komatsu | More programs
    Perl Artistic License / FREE
    June 29th, 2010, 05:56 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Catalyst::Plugin::Log::Colorful description

    Catalyst Plugin for Colorful Log

    Developer comments

    Sometimes when I am monitoring 'tail -f error_log' or './script/my_server.pl' during develop phase, I could not find log message because of a lot of logs. The Catalyst::Plugin::Log::Colorful module may help to find it out. This plugin is using Term::ANSIColor.

    Of course when you open log file with vi or some editor, the color wont change and also you will see additional log such as 'oraora'.

    SYNOPSIS

     sub foo : Private {
     my ($self , $c ) = @_;
     $c->log->debug('debug');
     $c->log->info( 'info');
     $c->log->warn( 'warn');
     $c->log->error('error');
     $c->log->fatal('fatal');

     $c->log->debug('debug' , 'red', 'white');
     $c->log->warn( 'warn' , 'blue' );
     }

    myapp.yml # default color is set but can change.

     'Plugin::Log::Colorful' :
     color_table :
     debug :
     color : white
     bg_color : blue
     warn :
     color : blue
     bg_color : green
     error :
     color : red
     bg_color : yellow
     fatal :
     color : red
     bg_color : green



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Catalyst plugin | colorful log | Perl module | Catalyst | colorful | log

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM