UAV::Pilot::Logger
A Moose role for UAV::Pilot classes that want to log things.
UAV::Pilot
Provides the attribute _logger, which returns a Log::Log4perl::Logger for your object.
_logger
Log::Log4perl::Logger
Also provides a method _logger_name for fetching the logger name. This will be your class's name by default. Override as you see fit.
_logger_name
To install UAV::Pilot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UAV::Pilot
CPAN shell
perl -MCPAN -e shell install UAV::Pilot
For more information on module installation, please visit the detailed CPAN module installation guide.