public class LogUtils extends Object
| Constructor and Description | 
|---|
| LogUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | configureLog4j(String resource)This is a utility to configure the Log4j logger. | 
| static boolean | configureLog4j(String resource,
              boolean watch)This is a utility to configure the Log4J logger. | 
| static org.apache.log4j.Logger | getLogger(Class clazz)Provide a synchronized method for multiple threads to use single
 run-time logger | 
| static String | printCallerLog() | 
public static boolean configureLog4j(String resource)
resource - The resource name to configure the logger with.public static boolean configureLog4j(String resource, boolean watch)
resource - The resource name to configure the logger with.watch - if true, will dynamically reconfigure log4j at runtimepublic static org.apache.log4j.Logger getLogger(Class clazz)
clazz - the class type of the callerpublic static String printCallerLog()