Thorium::Roles::Logging - Adds standard logging to your class
version 0.510
with 'Thorium::Roles::Logging'; ... $self->log->warn('look out! impending destruction awaits ahead!');
Adds one attribute, 'log' to the consuming class, which will instantiate to a Thorium::Log object at first use. Category is automatically set to the class name instantiated under.
Adam Flott <adam@npjh.com>
This software is copyright (c) 2011 by Adam Flott <adam@npjh.com>, CIDC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Thorium, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Thorium
CPAN shell
perl -MCPAN -e shell install Thorium
For more information on module installation, please visit the detailed CPAN module installation guide.