[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    Re: Entering and Exiting Log Methods I.E. java.util.logging.Logger
From:       v2cg4ss <sselvia () datamentors ! com>
Date:       2009-08-21 13:37:10
Message-ID: 25079950.post () talk ! nabble ! com
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic