
CatalystX::Usul::Log - Create logging methods for different encodings

$Revision: 1181 $

use parent qw(CatalystX::Usul::Log); __PACKAGE__->mk_log_methods(); # Can now call the following $self->log_debug( $text ); $self->log_info( $text ); $self->log_warn( $text ); $self->log_error( $text ); $self->log_fatal( $text );

Defines a class methods which will create logging methods that encode thier output using the required encoding

Creates a set of methods defined by the $LEVELS package variable. The method expects $self->log and $self->encoding to be set. It encodes the output string prior calling the log method at the given level
$self->mk_log_message( $args, $message );
Returns a message formatted for logging

None

None


There are no known incompatibilities in this module

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Peter Flanigan, <Support at RoxSoft.co.uk>

Copyright (c) 2011 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE