|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.LogXF
public abstract class LogXF
This is a base class for LogMF and LogSF parameterized logging classes.
LogMF
,
LogSF
Field Summary | |
---|---|
protected static Level |
TRACE
Trace level. |
Constructor Summary | |
---|---|
protected |
LogXF()
|
Method Summary | |
---|---|
static void |
entering(Logger logger,
String sourceClass,
String sourceMethod)
Log an entering message at DEBUG level. |
static void |
entering(Logger logger,
String sourceClass,
String sourceMethod,
Object param)
Log an entering message with a parameter at DEBUG level. |
static void |
entering(Logger logger,
String sourceClass,
String sourceMethod,
Object[] params)
Log an entering message with an array of parameters at DEBUG level. |
static void |
entering(Logger logger,
String sourceClass,
String sourceMethod,
String param)
Log an entering message with a parameter at DEBUG level. |
static void |
exiting(Logger logger,
String sourceClass,
String sourceMethod)
Log an exiting message at DEBUG level. |
static void |
exiting(Logger logger,
String sourceClass,
String sourceMethod,
Object result)
Log an exiting message with result at DEBUG level. |
static void |
exiting(Logger logger,
String sourceClass,
String sourceMethod,
String result)
Log an exiting message with result at DEBUG level. |
static void |
throwing(Logger logger,
String sourceClass,
String sourceMethod,
Throwable thrown)
Logs a throwing message at DEBUG level. |
protected static Object[] |
toArray(Object param1)
Create new array. |
protected static Object[] |
toArray(Object param1,
Object param2)
Create new array. |
protected static Object[] |
toArray(Object param1,
Object param2,
Object param3)
Create new array. |
protected static Object[] |
toArray(Object param1,
Object param2,
Object param3,
Object param4)
Create new array. |
protected static Boolean |
valueOf(boolean b)
Returns a Boolean instance representing the specified boolean. |
protected static Byte |
valueOf(byte b)
Returns a Byte instance representing the specified byte. |
protected static Character |
valueOf(char c)
Returns a Character instance representing the specified char. |
protected static Double |
valueOf(double b)
Returns a Double instance representing the specified double. |
protected static Float |
valueOf(float b)
Returns a Float instance representing the specified float. |
protected static Integer |
valueOf(int b)
Returns an Integer instance representing the specified int. |
protected static Long |
valueOf(long b)
Returns a Long instance representing the specified long. |
protected static Short |
valueOf(short b)
Returns a Short instance representing the specified short. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Level TRACE
Constructor Detail |
---|
protected LogXF()
Method Detail |
---|
protected static Boolean valueOf(boolean b)
b
- a boolean value.
protected static Character valueOf(char c)
c
- a character value.
protected static Byte valueOf(byte b)
b
- a byte value.
protected static Short valueOf(short b)
b
- a short value.
protected static Integer valueOf(int b)
b
- an int value.
protected static Long valueOf(long b)
b
- a long value.
protected static Float valueOf(float b)
b
- a float value.
protected static Double valueOf(double b)
b
- a double value.
protected static Object[] toArray(Object param1)
param1
- parameter 1.
protected static Object[] toArray(Object param1, Object param2)
param1
- parameter 1.param2
- parameter 2.
protected static Object[] toArray(Object param1, Object param2, Object param3)
param1
- parameter 1.param2
- parameter 2.param3
- parameter 3.
protected static Object[] toArray(Object param1, Object param2, Object param3, Object param4)
param1
- parameter 1.param2
- parameter 2.param3
- parameter 3.param4
- parameter 4.
public static void entering(Logger logger, String sourceClass, String sourceMethod)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.public static void entering(Logger logger, String sourceClass, String sourceMethod, String param)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.param
- parameter, may be null.public static void entering(Logger logger, String sourceClass, String sourceMethod, Object param)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.param
- parameter, may be null.public static void entering(Logger logger, String sourceClass, String sourceMethod, Object[] params)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.params
- parameters, may be null.public static void exiting(Logger logger, String sourceClass, String sourceMethod)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.public static void exiting(Logger logger, String sourceClass, String sourceMethod, String result)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.result
- result, may be null.public static void exiting(Logger logger, String sourceClass, String sourceMethod, Object result)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.result
- result, may be null.public static void throwing(Logger logger, String sourceClass, String sourceMethod, Throwable thrown)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.thrown
- throwable, may be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |