|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ashridgetech.gen2j.util.Trace
Utility class for assisting method-trace logging with Log4J. Creates DEBUG priority log requests for events such as entering or returning from methods
| Field Summary | |
static String |
LOG4J_PROPERTIES_FILE
|
| Method Summary | |
static void |
enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName)
Log entry to an instance method with no parameters. |
static void |
enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1)
Log entry to an instance method with one parameter. |
static void |
enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2)
Log entry to an instance method with two parameters. |
static void |
enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Log entry to an instance method with three parameters. |
static void |
enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Log entry to an instance method with four parameters. |
static void |
enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Log entry to an instance method with five parameters. |
static void |
enter(org.apache.log4j.Category cat,
String methodName)
Log entry to a static method with no parameters. |
static void |
enter(org.apache.log4j.Category cat,
String methodName,
Object arg1)
Log entry to a static method with one parameter. |
static void |
enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2)
Log entry to a static method with two parameters. |
static void |
enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2,
Object arg3)
Log entry to a static method with three parameters. |
static void |
enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Log entry to a static method with four parameters. |
static void |
enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Log entry to a static method with five parameters. |
static void |
init()
|
static Object |
leave(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object returnValue)
Log return value from an instance method. |
static String |
leave(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
String returnValue)
Log return value from an instance method which returns a String. |
static Object |
leave(org.apache.log4j.Category cat,
String methodName,
Object returnValue)
Log return value from an static method. |
static String |
leave(org.apache.log4j.Category cat,
String methodName,
String returnValue)
Log return value from an static method which returns a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String LOG4J_PROPERTIES_FILE
| Method Detail |
public static void init()
public static void enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being called
public static void enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledarg1 - the first argument of the method being called
public static void enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being called
public static void enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2,
Object arg3)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being calledarg3 - the third argument of the method being called
public static void enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being calledarg3 - the third argument of the method being calledarg4 - the fourth argument of the method being called
public static void enter(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being calledarg3 - the third argument of the method being calledarg4 - the fourth argument of the method being calledarg5 - the fifth argument of the method being called
public static void enter(org.apache.log4j.Category cat,
String methodName)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being called
public static void enter(org.apache.log4j.Category cat,
String methodName,
Object arg1)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledarg1 - the first argument of the method being called
public static void enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being called
public static void enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2,
Object arg3)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being calledarg3 - the third argument of the method being called
public static void enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being calledarg3 - the third argument of the method being calledarg4 - the fourth argument of the method being called
public static void enter(org.apache.log4j.Category cat,
String methodName,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledarg1 - the first argument of the method being calledarg2 - the second argument of the method being calledarg3 - the third argument of the method being calledarg4 - the fourth argument of the method being calledarg5 - the fifth argument of the method being called
public static Object leave(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
Object returnValue)
cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledreturnValue - the Object being returned by the methodreturnValue instance
public static String leave(org.apache.log4j.Category cat,
Object thisObject,
String methodName,
String returnValue)
String.cat - the Log4J Category to which the log request is sentthisObject - the Object instance on which the method is being calledmethodName - the name of the method being calledreturnValue - the String being returned by the methodreturnValue instance
public static Object leave(org.apache.log4j.Category cat,
String methodName,
Object returnValue)
cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledreturnValue - the Object being returned by the methodreturnValue instance
public static String leave(org.apache.log4j.Category cat,
String methodName,
String returnValue)
String.cat - the Log4J Category to which the log request is sentmethodName - the name of the method being calledreturnValue - the String being returned by the methodreturnValue instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||