Hi,
We are creating log4j wrapper for our application as follows.Will this create any threading issue..
public class LoggingUtil {
static Logger logger = Logger.getLogger(LoggingUtil.class);
public static void debug(Class<?> classNm,Object message)
{
if(logger.isDebugEnabled()){
logger.log(classNm.getName(), Level.DEBUG, message,null);}
}
}
Thanks and Regards
A.Raj
We are creating log4j wrapper for our application as follows.Will this create any threading issue..
public class LoggingUtil {
static Logger logger = Logger.getLogger(LoggingUtil.class);
public static void debug(Class<?> classNm,Object message)
{
if(logger.isDebugEnabled()){
logger.log(classNm.getName(), Level.DEBUG, message,null);}
}
}
Thanks and Regards
A.Raj