Gungho::Log::Dispatch - Log::Dispatch-Based Log For Gungho
use Gungho::Log::Dispatch; my $log = Gungho::Log::Dispatch->new(); $log->setup($c, { logs => [ { module => 'Screen', min_level => 'debug', name => 'stderr', stderr => 1 }, { module => 'File', min_level => 'info', filename => '/path/to/filename' mode => 'append' } ] });
Sets up the module
Logs to each level
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.