logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From v2cg4ss <ssel...@datamentors.com>
Subject Re: Entering and Exiting Log Methods I.E. java.util.logging.Logger
Date Fri, 21 Aug 2009 13:37:10 GMT

Thanks for the feedback


Curt Arnold-3 wrote:
> 
> There is a bug report for it as an enhancement to the extras  
> companion.  LogMF and LogSF in the extras provides parameterized  
> logging methods for info, etc.  Adding enter and exit methods would be  
> good enhancement.
> 
> https://issues.apache.org/bugzilla/show_bug.cgi?id=43277
> 
> 
> On Aug 20, 2009, at 9:11 AM, v2cg4ss wrote:
> 
>>
>> In the java.util.logging.Logger class there are multiple methods to  
>> trace
>> entering and exiting a method, we have used those methods in our  
>> code.  We
>> are trying to convert to log4j but I have not been able to find an
>> equivalent set of methods.
>>
>> Object[] values = new Object[3];
>> values[0] = aReply;
>> values[1] = aCode;
>> values[2] = aMessage;
>>
>> logger.entry("ClassName", "methodentry = {0}, {1}, {2}", values);
>>
>> Does this exist in log4j?
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Entering-and-Exiting-Log-Methods-I.E.-java.util.logging.Logger-tp25062854p25062854.html
>> Sent from the Log4j - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Entering-and-Exiting-Log-Methods-I.E.-java.util.logging.Logger-tp25062854p25079950.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message