Kelp::Module::Logger - Logger for Kelp applications
# conf/config.pl { modules => ['Logger'], modules_init => { Logger => { outputs => [ [ 'Screen', min_level => 'debug', newline => 1 ], ] }, }, } # lib/MyApp.pm sub run { my $self = shift; my $app = $self->SUPER::run(@_); ...; $app->info('Kelp is ready to rock!'); return $app; }
This module provides an log interface for Kelp web application. It uses Log::Dispatcher as underlying logging module.
To install Kelp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kelp
CPAN shell
perl -MCPAN -e shell install Kelp
For more information on module installation, please visit the detailed CPAN module installation guide.