Softpedia
 


LINUX CATEGORIES:



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

    Catalyst::Plugin::FirePHP 0.01_03

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Sebastian Willert | More programs
    Perl Artistic License / FREE
    July 15th, 2010, 23:27 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Catalyst::Plugin::FirePHP description

    Sends Catalyst log messages to a FirePHP console

    Catalyst::Plugin::FirePHP is a Perl module that automatically binds the current response headers to a newly created FirePHP::Dispatcher in use and on demand creates nested groups for all called actions.

    The only thing you need to do to start using FirePHP is include this plugin in your plugin list. Everything else should happen automatically, no config is needed.

    This plugin tries to be as unintrusive as possible if your application doesn't run in debug mode, but it is highly recommended to drop it altogether in production servers.

    SYNOPSIS

    In your application class (e.g. MyApp.pm):

     use Catalyst ( ..., '+Catalyst::Plugin::FirePHP' );
     use Catalyst::Log::Log4perl;

     __PACKAGE__->config(
     name => 'Just a Catalyst application',
     FirePHP => { action_grouping => 1, compact => 1 }
     );

     # only if you want to change the appender layout to use cspecs
     __PACKAGE__->log( Catalyst::Log::Log4perl->new(
     'log4perl.conf', override_cspecs => 1
     ));


    In your log4perl config (only if you want to change the message layout):

     log4perl.rootLogger = DEBUG, SCREEN, FIREPHP
     log4perl.appender.SCREEN = Log::Log4perl::Appender::Screen
     log4perl.appender.SCREEN.layout = SimpleLayout

     log4perl.appender.FIREPHP = FirePHP::Log4perl::Appender
     log4perl.appender.FIREPHP.layout = FirePHP::Log4perl::Layout


    And later...

     $c->log->debug("This is using log4perl AND FirePHP!");


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    log messages | Catalyst plugin | Perl module | Catalyst | log | messages

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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