org.apache.openjpa.persistence.meta
Class CompileTimeLogger
java.lang.Object
org.apache.openjpa.persistence.meta.CompileTimeLogger
public class CompileTimeLogger
- extends Object
Simple logger sets log level from javac compilers annotation processing
options -Alog=TRACE|INFO|WARN|ERROR
and uses the processing
environment to determine the log output stream.
- Author:
- Pinaki Poddar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompileTimeLogger
public CompileTimeLogger(javax.annotation.processing.ProcessingEnvironment env,
String level)
info
public void info(Localizer.Message message)
trace
public void trace(Localizer.Message message)
warn
public void warn(Localizer.Message message)
error
public void error(Localizer.Message message)
error
public void error(Localizer.Message message,
Throwable t)
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.