Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`CompileTimeLogger(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(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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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