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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]