NAME

Thorium::Roles::Logging - Adds standard logging to your class

VERSION

version 0.510

SYNOPSIS

with 'Thorium::Roles::Logging';

...

$self->log->warn('look out! impending destruction awaits ahead!');

DESCRIPTION

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.

AUTHOR

Adam Flott <adam@npjh.com>

COPYRIGHT AND LICENSE

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.