# Optional configuration attribute would go here.
my $logger = MyLogger->new;
$logger->debug("Something to log");
$logger->logger->debug("This also works");
Like MooseX::LogDispatch, but with methods for the various log levels added directly to your class.
Configuration is done in the exact same way as for MooseX::LogDispatch.
Ash Berlin <email@example.com>.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install MooseX::LogDispatch, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.