Class CompileTimeLogger
- java.lang.Object
-
- org.apache.openjpa.persistence.meta.CompileTimeLogger
-
public class CompileTimeLogger extends java.lang.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
-
-
Constructor Summary
Constructors Constructor Description CompileTimeLogger(javax.annotation.processing.ProcessingEnvironment env, java.lang.String level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(Localizer.Message message)
void
error(Localizer.Message message, java.lang.Throwable t)
void
info(Localizer.Message message)
void
trace(Localizer.Message message)
void
warn(Localizer.Message message)
-
-
-
Method Detail
-
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, java.lang.Throwable t)
-
-