Hi All,
 
I am using commons-logging (using log4j) for logging..
 
We do following logging style...
 
if (logger.isDebugEnabled())
{
  logger.debug("Method Name : + some Message");
}
 
Here can we get the method name using java reflection or some other way
so that no need to pass the method name while logging the message ..???
 
Regards,
Viral

Reply via email to