logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: get method name of logging caller...
Date Mon, 18 Oct 2010 15:23:03 GMT
Guten Tag Curt Arnold,
am Montag, 18. Oktober 2010 um 15:14 schrieben Sie:

> If you are able to see file and line, but not class and method,
> then explore extending __LOG4CXX_FUNC__ to support your compiler.

Thanks for the hint, but even if I do that, I just get what %l would
print, right? It seemed that it combines file and line, but I would
have wanted just the method. LocationInfo::write doesn't seem to print
the method name, either it's provided or not, too. I'm stuck with an old
Borland Builder and pretty sure I already searched for a way to get
the method name quite a while ago and didn't find anything helpful.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening@am-soft.de
Web:     http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow


Mime
View raw message