org.apache.openjpa.persistence.meta
Class CompileTimeLogger

java.lang.Object
  extended by 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

Constructor Summary
CompileTimeLogger(javax.annotation.processing.ProcessingEnvironment env, String level)
           
 
Method Summary
 void error(Localizer.Message message)
           
 void error(Localizer.Message message, Throwable t)
           
 void info(Localizer.Message message)
           
 void trace(Localizer.Message message)
           
 void warn(Localizer.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompileTimeLogger

public CompileTimeLogger(javax.annotation.processing.ProcessingEnvironment env,
                         String level)
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,
                  Throwable t)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.