Catalyst-Log-Log4perl
view release on metacpan or search on metacpan
lib/Catalyst/Log/Log4perl.pm view on Meta::CPAN
=item is_error()
Calls $logger->is_error.
=item is_fatal()
Calls $logger->is_fatal.
=item levels()
This method does nothing but return "0". You should use L<Log::Log4perl>'s
built in mechanisms for setting up log levels.
=cut
sub levels {
return 0;
}
=item enable()
This method does nothing but return "0". You should use L<Log::Log4perl>'s
built in mechanisms for enabling log levels.
=cut
sub enable {
return 0;
}
=item disable()
This method does nothing but return "0". You should use L<Log::Log4perl>'s
built in mechanisms for disabling log levels.
=cut
sub disable {
return 0;
}
1;
__END__
=back
=head1 OVERRIDING CSPECS
Due to some fundamental design incompatibilities of L<Log::Log4perl>
and L<Catalyst::Log> all cspecs of L<Log::Log4perl::Layout::PatternLayout>
that rely on call stack information fail to work as expected. Affected
are the format strings %L, %F, %C, %M, %l and %T. You can instruct
B<Catalyst::Log::Log4perl> to try to hijack these patterns which seems to
work reasonable well, but be advised that this feature is HIGHLY EXPERIMENTAL
and relies on a few internals of L<Log::Log4perl> that might change in later
versions of this library. Additionally, this feature is currently only tested
with L<Log::Log4perl> version 1.08 allthough the underlying internals of
L<Log::Log4perl> seem to be stable since at least version 0.47.
=head1 BUGS AND LIMITATIONS
The %T cspec of L<Log::Log4perl::Layout::PatternLayout> is currently
unimplemented. The implementation to get %M defies any logical approach
but seems to work perfectly.
=head1 SEE ALSO
L<Log::Log4perl>, L<Catalyst::Log>, L<Catalyst>.
=head1 AUTHORS
Adam Jacob, C<adam@stalecoffee.org>
Andreas Marienborg, C<omega@palle.net>
Gavin Henry, C<ghenry@suretecsystems.com> (Typos)
Sebastian Willert (Overriding CSPECS)
J. Shirley C<jshirley@gmail.com> (Adding _dump)
Tomas Doran (t0m) C<bobtfish@bobtfish.net> (Current maintainer)
Wallace Reis (wreis) C<wreis@cpan.org>
=head1 COPYRIGHT
Copyright (c) 2005 - 2009
the Catalyst::Log::Log4perl L</AUTHORS>
as listed above.
=head1 LICENSE
This library is free software. You can redistribute it and/or modify it under
the same terms as perl itself.
=cut
( run in 0.496 second using v1.01-cache-2.11-cpan-4ab04211f4c )