|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.knowledgeplaza.util.Log4jUtil
public class Log4jUtil
Several convenience methods for JDBC related tasks. TODO: can we push in some pooling and optional caching?
| Field Summary | |
|---|---|
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
Log4jUtil()
|
|
| Method Summary | |
|---|---|
static org.apache.log4j.Logger |
createLogger()
Automatically create a log4j logger off the class that class this method: static org.apache.log4j.Logger log4j = Log4jUtil.createLogger(); Since Java 1.3 does not support getting the stacktrace, |
static void |
setLogLevel(java.lang.String loggerId,
org.apache.log4j.Level level)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SOURCECODE_VERSION
| Constructor Detail |
|---|
public Log4jUtil()
| Method Detail |
|---|
public static org.apache.log4j.Logger createLogger()
public static void setLogLevel(java.lang.String loggerId,
org.apache.log4j.Level level)
loggerId - level -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||