GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CATALYST::PLUGIN::LOGWARNINGS (3)

.ds Aq ’

NAME

Catalyst::Plugin::LogWarnings - Log perl warnings to your Catalyst log object

CONTENTS

VERSION

Version 0.03

SYNOPSIS

In MyApp.pm:



    use Catalyst qw/LogWarnings/;



After that, any warn statement that’s executed during action processing is sent to the log $c-log> as a warning (instead of being dumped to STDERR).

Example:



    package MyApp::Controller::Foo;
    sub foo : Local() { warn foobar!; }
    1;



Output (if you’re using the standard Catalyst::Log logger):



    [info] MyApp running on Catalyst 5.7001
    [warn] foobar at Foo.pm line 2



CONFIGURATION

None.

OVERRIDES

    execute

Wraps Catalyst::execute and catches warnings with a $SIG{__WARN__} statement.

AUTHOR

Jonathan Rockway, <jrockway at cpan.org>

BUGS

Warnings are caught after perl’s rewritten them, so the line number and filename will be tacked on.

Please report any bugs or feature requests to bug-catalyst-plugin-logwarnings at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Plugin-LogWarnings>. I will be notified, and then you’ll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc Catalyst::Plugin::LogWarnings



You can also look for information at:
o Catalyst Project Homepage

<http://www.catalystframework.org/>

o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Catalyst-Plugin-LogWarnings>

o CPAN Ratings

<http://cpanratings.perl.org/d/Catalyst-Plugin-LogWarnings>

o RT: CPAN’s request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-Plugin-LogWarnings>

o Search CPAN

<http://search.cpan.org/dist/Catalyst-Plugin-LogWarnings>

ACKNOWLEDGEMENTS

#catalyst (<irc://irc.perl.org/#catalyst>).

COPYRIGHT & LICENSE

Copyright 2006 Jonathan Rockway, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CATALYST::PLUGIN::LOGWARNINGS (3) 2010-02-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.