nl.knowledgeplaza.util
Class Slf4jUtil
java.lang.Object
nl.knowledgeplaza.util.Slf4jUtil
public class Slf4jUtil
- extends Object
Several convenience methods for JDBC related tasks.
TODO: can we push in some pooling and optional caching?
- Version:
- $Revision: 1.1 $
|
Method Summary |
static org.slf4j.Logger |
createLogger()
Automatically create a log4j logger off the class that class this method:
static org.slf4j.Logger log4j = Log4jUtil.createLogger();
Since Java 1.3 does not support getting the stacktrace, |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
Slf4jUtil
public Slf4jUtil()
createLogger
public static org.slf4j.Logger createLogger()
- Automatically create a log4j logger off the class that class this method:
static org.slf4j.Logger log4j = Log4jUtil.createLogger();
Since Java 1.3 does not support getting the stacktrace,
- Returns:
Copyright © 2011 KnowledgePlaza. All Rights Reserved.