Raisin::Plugin::Logger - Logger plugin for Raisin.
plugin 'Logger'; logger(info => 'Hello!');
Borrowed from Kelp::Module::Logger.
Provides logger method which is an alias for Log::Dispatch log method.
logger
log
$self->{logger}->log( level => $level, message => sprintf("%s - %s - %s\n", $date, $level, ref($_) ? Dumper($_) : $_) );
To install Raisin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Raisin
CPAN shell
perl -MCPAN -e shell install Raisin
For more information on module installation, please visit the detailed CPAN module installation guide.