|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.jdbcplus.JDBCLogType
This class contains all constants which are necessary to define a columns log-type.
Field Summary | |
static int |
CAT
The column gets the categorys name. |
static String |
CAT_VAR
|
static int |
DYNAMIC
The value must be a JDBCColumnHandler, which returns the columns value. |
static String |
DYNAMIC_VAR
|
static int |
EMPTY
The column will be ignored. |
static String |
EMPTY_VAR
|
static int |
ID
The value must be a JDBCIDHandler, which returns the columns value. |
static String |
ID_VAR
|
static int |
INC
The column gets a number, which begins with 1 and will be incremented with every log-message. |
static String |
INC_VAR
|
static int |
IPRIO
The column gets the integer value of the priority of the log-message. |
static String |
IPRIO_VAR
|
static int |
LAYOUT
The column with LAYOUT:x will get the xth part of the layout |
static String |
LAYOUT_VAR
|
static int |
MDC
The column will get the MDC (mapped diagnostic context) for the given key |
static String |
MDC_VAR
|
static int |
MSG
The column will get the non-layouted log-message. |
static String |
MSG_VAR
|
static int |
NDC
The column will get the NDC (nested diagnostic context). |
static String |
NDC_VAR
|
static int |
ORACLE_SEQUENCE
The column gets the result of an Oracle sequence call.. |
static String |
ORACLE_SEQUENCE_VAR
|
static int |
PRIO
The column gets the priority of the log-message. |
static String |
PRIO_VAR
|
static int |
STATIC
The column always gets this value. |
static String |
STATIC_VAR
|
static int |
THREAD
The column gets the threads name. |
static String |
THREAD_VAR
|
static int |
THROWABLE
The column gets the throwable information, if available. |
static String |
THROWABLE_VAR
|
static int |
TIMESTAMP
The column gets an actual timestamp. |
static String |
TIMESTAMP_VAR
|
Constructor Summary | |
JDBCLogType()
|
Method Summary | |
static boolean |
isLogType(int _lt)
Check the LogType attribute |
static boolean |
isLogType(String _lt)
Checks the LogType attribute |
static int |
parseLogType(String _lt)
Transforms the String-constant in the Number-constant |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MSG
public static final String MSG_VAR
public static final int PRIO
public static final String PRIO_VAR
public static final int CAT
public static final String CAT_VAR
public static final int THREAD
public static final String THREAD_VAR
public static final int ID
public static final String ID_VAR
public static final int STATIC
public static final String STATIC_VAR
public static final int TIMESTAMP
public static final String TIMESTAMP_VAR
public static final int EMPTY
public static final String EMPTY_VAR
public static final int INC
public static final String INC_VAR
public static final int DYNAMIC
public static final String DYNAMIC_VAR
public static final int THROWABLE
public static final String THROWABLE_VAR
public static final int LAYOUT
public static final String LAYOUT_VAR
public static final int NDC
public static final String NDC_VAR
public static final int MDC
public static final String MDC_VAR
public static final int IPRIO
public static final String IPRIO_VAR
public static final int ORACLE_SEQUENCE
public static final String ORACLE_SEQUENCE_VAR
Constructor Detail |
public JDBCLogType()
Method Detail |
public static boolean isLogType(int _lt)
_lt
- Description of Parameter
public static boolean isLogType(String _lt)
_lt
- Description of Parameter
public static int parseLogType(String _lt)
_lt
- Description of Parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |