Amon2::Plugin::LogDispatch - Log::Dispatch glue for Amon2
__PACKAGE__->load_plugin('LogDispatch'); # in your config.pl 'Log::Dispatch' => { outputs => [ [Screen::Color', min_level => 'debug', name => 'debug', stderr => 1, color => { debug => { text => 'green', } } ], ], }, # in your controller $c->log->emerg('help me');
Amon2, Log::Dispatch
To install Amon2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Amon2
CPAN shell
perl -MCPAN -e shell install Amon2
For more information on module installation, please visit the detailed CPAN module installation guide.