NAME
Clio::Log - Abstract base class for Clio::Log::* implementations
VERSION
version 0.02
SYNOPSIS
package Clio::Log::MyPackage;
use Moo;
extends qw( Clio::Log );
sub init { ... }
sub logger { ... }
DESCRIPTION
Base abstract class for Clio::Log::* implementations.
Logging classes are not to be used directly, but via Clio context, as in:
$c->log->trace( ... );
$c->log->debug( ... );
Consumes the Clio::Role::HasContext.
METHODS
init
Abstract method called at application start.
logger
Abstract method which should return the logger object.
SEE ALSO
AUTHOR
Alex J. G. Burzyński <ajgb@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Alex J. G. Burzyński <ajgb@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.