On Fri, 25 Jan 2008, Steven Lembark wrote:

> +    sub debug
> +    {
> +        local $Log::Log4perl::caller_depth  ||= 1;
> +
> +        ...
> +    }

Hmm ... do you mean

    local $Log::Log4perl::caller_depth =
            $Log::Log4perl::caller_depth + 1;

by any chance? See

    http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#73200

for a similar case.

-- Mike

Mike Schilli
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to