NAME
Catalyst::Log - Catalyst Log Class
SYNOPSIS
$log = $c->log;
$log->debug(@message);
$log->error(@message);
$log->info(@message);
$log->warn(@message);
See Catalyst.
DESCRIPTION
This module provides the default, simple logging functionality for Catalyst. If you want something different set $c-
log> in your application module, e.g.:
$c->log( MyLogger->new );
Your logging object is expected to provide the interface described here.
METHODS
- $log->debug(@message)
-
Logs a debugging message.
- $log->error(@message)
-
Logs an error message.
- $log->info(@message)
-
Logs an informational message.
- $log->warn(@message)
-
Logs a warning message.
SEE ALSO
AUTHOR
Sebastian Riedel, sri@cpan.org
Marcus Ramberg, mramberg@cpan.org
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.