You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Abhijeet Sarwate <as...@elm.mt.att.com> on 2002/11/21 19:47:27 UTC

Line numbers and method name of calling class

Hi,

I am trying to write a wrapper for Log4J. It works. But the problem is
that line number printed are of that wrapper and not of the class where
it is used ? So if I write a test code and invoke my api- writeDebug(),
then it prints the wrapper line number from where the actual debug
method is called and so the line number and funciton name are useless

Does anyone know a way to fix this??

abhijeet


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>