App::Foca::Tools::Logger - Main logger interface, uses log4perl
Main logger interface, uses log4perl
Creates the logger object.
Turn on (by default) or off debug mode.
Logs a connection regardless if it is a legit request or not.
Logs a request. Requires the IP and a URL path.
Dies with log4perl sending a logdie()
logdie()
Logs an error, but not fatal errors to kill the app.
Logs a a warning.
Logs an info message (something handy, just as a FYI).
Handy for debug messsages.
Copyright (c) 2010-2012 Yahoo! Inc. All rights reserved.
This program is free software. You may copy or redistribute it under the same terms as Perl itself. Please see the LICENSE file included with this project for the terms of the Artistic License under which this project is licensed.
Pablo Fischer (pablo@pablo.com.mx)
To install App::Foca::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Foca::Server
CPAN shell
perl -MCPAN -e shell install App::Foca::Server
For more information on module installation, please visit the detailed CPAN module installation guide.