Catalyst-Log-Log4perl

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


    abort($abort)
        Causes the current log-object to not log anything, effectivly
        shutting up this request, making it disapear from the logs.

    debug($message)
        Passes it's arguments to $logger->debug.

    info($message)
        Passes it's arguments to $logger->info.

    warn($message)
        Passes it's arguments to $logger->warn.

    error($message)
        Passes it's arguments to $logger->error.

    fatal($message)
        Passes it's arguments to $logger->fatal.

    is_debug()
        Calls $logger->is_debug.

    is_info()
        Calls $logger->is_info.

    is_warn()
        Calls $logger->is_warn.

    is_error()
        Calls $logger->is_error.

    is_fatal()
        Calls $logger->is_fatal.

    levels()
        This method does nothing but return "0". You should use
        Log::Log4perl's built in mechanisms for setting up log levels.

    enable()
        This method does nothing but return "0". You should use
        Log::Log4perl's built in mechanisms for enabling log levels.

    disable()
        This method does nothing but return "0". You should use
        Log::Log4perl's built in mechanisms for disabling log levels.

OVERRIDING CSPECS
    Due to some fundamental design incompatibilities of Log::Log4perl and
    Catalyst::Log all cspecs of 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
    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 Log::Log4perl that might
    change in later versions of this library. Additionally, this feature is
    currently only tested with Log::Log4perl version 1.08 allthough the
    underlying internals of Log::Log4perl seem to be stable since at least
    version 0.47.

BUGS AND LIMITATIONS
    The %T cspec of Log::Log4perl::Layout::PatternLayout is currently
    unimplemented. The implementation to get %M defies any logical approach
    but seems to work perfectly.

SEE ALSO
    Log::Log4perl, Catalyst::Log, Catalyst.

AUTHORS
    Adam Jacob, "adam@stalecoffee.org"

    Andreas Marienborg, "omega@palle.net"

    Gavin Henry, "ghenry@suretecsystems.com" (Typos)

    Sebastian Willert (Overriding CSPECS)

    J. Shirley "jshirley@gmail.com" (Adding _dump)

    Tomas Doran (t0m) "bobtfish@bobtfish.net" (Current maintainer)

    Wallace Reis (wreis) "wreis@cpan.org"

COPYRIGHT
    Copyright (c) 2005 - 2009 the Catalyst::Log::Log4perl "AUTHORS" as
    listed above.

LICENSE
    This library is free software. You can redistribute it and/or modify it
    under the same terms as perl itself.



( run in 1.767 second using v1.01-cache-2.11-cpan-39bf76dae61 )