Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Dancer::Logger::ColorConsole 0.0002

    Download button

    No screenshots available
    Downloads: 119  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alberto Manuel Brandão Simões | More programs
    Perl Artistic License / FREE
    July 23rd, 2011, 19:03 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Dancer::Logger::ColorConsole description

    Colored console-based logging engine for Dancer

    Dancer::Logger::ColorConsole is a colored console-based logging engine that prints your logs to the console.

    CONFIGURATION

    First, set the logger. Probably in your environment/development.yml file:

     logger: colorConsole

    Then, you can configure colors for the four debug levels:

     engines:
     logger:
     levels:
     core: 'red'
     warning: 'white on_yellow'
     debug: 'clear'
     error: 'bold white on_red'


    Check the colors/types supported in the Term::ANSIColor manual.

    You can define regular expressions (and colors to be used) with:

     engines:
     logger:
     regexps:
     - re: 'trying to match .*'
     color: 'green'
     - re: 'request: .*'
     color: 'bold'


    By default, Dancer::Logger::ColorConsole makes some specific regular expressions colored. For instance, response: 200 are colored in green, while response: 404 are colored in red.

    At the moment you can turn off these built-in regexps with:

     engines:
     logger:
     default_regexps: 0



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    colored logging | console logging | color console | colored | console | logger

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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