logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From v2cg4ss <ssel...@datamentors.com>
Subject Entering and Exiting Log Methods I.E. java.util.logging.Logger
Date Thu, 20 Aug 2009 14:11:02 GMT

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

View raw message