Hi,

As far as I understand, SLF4J provides no information to concrete
implementation about location information. How does a binding for, say log4j
for instance no where to look in the stack to get this info?

I would expect to find something like:

Thread.currentThread().getStackTrace()[2].getLineNumber()


Is the place in the callstack configurable? I'm trying to write a Scala
wrapper to SLF4J that uses a Log4j backend, and I'd like to shift the
localization when level up in the callstack.

best,
Adam

-- 

*Adam Crain*

Chief Platform Architect, GEC

Office: 919.836.9916

Cell:  919.428.1002

[email protected] <[email protected]>


*Green Energy Corp,* *enabling the smart grid of the future.**   *

*www.greenenergycorp.com*

*www.totalgrid.org*




-- 

*Adam Crain*

Chief Platform Architect, GEC

Office: 919.836.9916

Cell:  919.428.1002

[email protected] <[email protected]>


*Green Energy Corp,* *enabling the smart grid of the future.**   *

*www.greenenergycorp.com*

*www.totalgrid.org*
_______________________________________________
slf4j-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-user

Reply via email to