com.j256.ormlite.logger
Class JavaUtilLog
java.lang.Object
com.j256.ormlite.logger.JavaUtilLog
- All Implemented Interfaces:
- com.j256.ormlite.logger.Log
public class JavaUtilLog
- extends Object
- implements com.j256.ormlite.logger.Log
Class which logs to java.util.log. This is not detected by default so is here for now as a reference implementation.
- Author:
- graywatson
Nested classes/interfaces inherited from interface com.j256.ormlite.logger.Log |
com.j256.ormlite.logger.Log.Level |
Method Summary |
boolean |
isLevelEnabled(com.j256.ormlite.logger.Log.Level level)
|
void |
log(com.j256.ormlite.logger.Log.Level level,
String msg)
|
void |
log(com.j256.ormlite.logger.Log.Level level,
String msg,
Throwable throwable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaUtilLog
public JavaUtilLog(String className)
isLevelEnabled
public boolean isLevelEnabled(com.j256.ormlite.logger.Log.Level level)
- Specified by:
isLevelEnabled
in interface com.j256.ormlite.logger.Log
log
public void log(com.j256.ormlite.logger.Log.Level level,
String msg)
- Specified by:
log
in interface com.j256.ormlite.logger.Log
log
public void log(com.j256.ormlite.logger.Log.Level level,
String msg,
Throwable throwable)
- Specified by:
log
in interface com.j256.ormlite.logger.Log
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.