|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 org.apache.log4j.Level |
TRACE
Trace level. |
Constructor Summary | |
---|---|
protected |
LogXF()
|
Method Summary | |
---|---|
static void |
entering(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod)
Log an entering message at DEBUG level. |
static void |
entering(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object param)
Log an entering message with a parameter at DEBUG level. |
static void |
entering(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params)
Log an entering message with an array of parameters at DEBUG level. |
static void |
entering(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String param)
Log an entering message with a parameter at DEBUG level. |
static void |
exiting(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod)
Log an exiting message at DEBUG level. |
static void |
exiting(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object result)
Log an exiting message with result at DEBUG level. |
static void |
exiting(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String result)
Log an exiting message with result at DEBUG level. |
static void |
throwing(org.apache.log4j.Logger logger,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Throwable thrown)
Logs a throwing message at DEBUG level. |
protected static java.lang.Object[] |
toArray(java.lang.Object param1)
Create new array. |
protected static java.lang.Object[] |
toArray(java.lang.Object param1,
java.lang.Object param2)
Create new array. |
protected static java.lang.Object[] |
toArray(java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
Create new array. |
protected static java.lang.Object[] |
toArray(java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
Create new array. |
protected static java.lang.Boolean |
valueOf(boolean b)
Returns a Boolean instance representing the specified boolean. |
protected static java.lang.Byte |
valueOf(byte b)
Returns a Byte instance representing the specified byte. |
protected static java.lang.Character |
valueOf(char c)
Returns a Character instance representing the specified char. |
protected static java.lang.Double |
valueOf(double b)
Returns a Double instance representing the specified double. |
protected static java.lang.Float |
valueOf(float b)
Returns a Float instance representing the specified float. |
protected static java.lang.Integer |
valueOf(int b)
Returns an Integer instance representing the specified int. |
protected static java.lang.Long |
valueOf(long b)
Returns a Long instance representing the specified long. |
protected static java.lang.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 org.apache.log4j.Level TRACE
Constructor Detail |
---|
protected LogXF()
Method Detail |
---|
protected static java.lang.Boolean valueOf(boolean b)
b
- a boolean value.
protected static java.lang.Character valueOf(char c)
c
- a character value.
protected static java.lang.Byte valueOf(byte b)
b
- a byte value.
protected static java.lang.Short valueOf(short b)
b
- a short value.
protected static java.lang.Integer valueOf(int b)
b
- an int value.
protected static java.lang.Long valueOf(long b)
b
- a long value.
protected static java.lang.Float valueOf(float b)
b
- a float value.
protected static java.lang.Double valueOf(double b)
b
- a double value.
protected static java.lang.Object[] toArray(java.lang.Object param1)
param1
- parameter 1.
protected static java.lang.Object[] toArray(java.lang.Object param1, java.lang.Object param2)
param1
- parameter 1.param2
- parameter 2.
protected static java.lang.Object[] toArray(java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
param1
- parameter 1.param2
- parameter 2.param3
- parameter 3.
protected static java.lang.Object[] toArray(java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
param1
- parameter 1.param2
- parameter 2.param3
- parameter 3.param4
- parameter 4.
public static void entering(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.public static void entering(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.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(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.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(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.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(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod)
logger
- logger, may not be null.sourceClass
- source class, may be null.sourceMethod
- method, may be null.public static void exiting(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.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(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.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(org.apache.log4j.Logger logger, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.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 |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.