logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Drier" <peter.dr...@gmail.com>
Subject Re: Line numbers in release mode
Date Mon, 20 Aug 2007 20:32:33 GMT
The PDB is what has the line number information in the first place..
Without it, there's no line number information for l4n to use..

-Peter

On 8/20/07, Phillip Ring <Phillip.Ring@hitcents.com> wrote:
>
> I am using log4net to log exceptions, and I thought I saw a way for
> log4net
> to get the line number of the exception even if the program was compiled
> in
> release mode.  I know how to get the line number of call to logger.Error
> (),
> etc. using patterns, but I want a way to get the line number of the
> exception without it being in debug mode.
>
> Phillip Ring
> Software Developer
> Hitcents.com
>
>

Mime
View raw message