Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.j256.ormlite.logger;

Class which logs to java.util.log. This is not detected by default so is here for now as a reference implementation.

Author(s):
graywatson
 
 public class JavaUtilLog implements Log {
 
	private final java.util.logging.Logger logger;
	public JavaUtilLog(String className) {
		this. = java.util.logging.Logger.getLogger(className);
	}
	public boolean isLevelEnabled(com.j256.ormlite.logger.Log.Level level) {
	}
	public void log(com.j256.ormlite.logger.Log.Level levelString msg) {
		.log(levelToJavaLevel(level), msg);
	}
	public void log(com.j256.ormlite.logger.Log.Level levelString msgThrowable throwable) {
		.log(levelToJavaLevel(level), msgthrowable);
	}
		switch (level) {
			case  :
			case  :
			case  :
			case  :
			case  :
			case  :
			default :
		}
	}
New to GrepCode? Check out our FAQ X