org.androidannotations.logger
Class LoggerContext

java.lang.Object
  extended by org.androidannotations.logger.LoggerContext

public class LoggerContext
extends Object


Field Summary
static String LOG_APPENDER_CONSOLE
           
static String LOG_FILE_OPTION
           
static String LOG_LEVEL_OPTION
           
 
Method Summary
 void close()
           
 Level getCurrentLevel()
           
static LoggerContext getInstance()
           
 void setCurrentLevel(Level currentLevel)
           
 void setProcessingEnv(ProcessingEnvironment processingEnv)
           
 void writeLog(Level level, String loggerName, String message, Element element, AnnotationMirror annotationMirror, Throwable thr, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_FILE_OPTION

public static final String LOG_FILE_OPTION
See Also:
Constant Field Values

LOG_LEVEL_OPTION

public static final String LOG_LEVEL_OPTION
See Also:
Constant Field Values

LOG_APPENDER_CONSOLE

public static final String LOG_APPENDER_CONSOLE
See Also:
Constant Field Values
Method Detail

getInstance

public static LoggerContext getInstance()

writeLog

public void writeLog(Level level,
                     String loggerName,
                     String message,
                     Element element,
                     AnnotationMirror annotationMirror,
                     Throwable thr,
                     Object... args)

getCurrentLevel

public Level getCurrentLevel()

setCurrentLevel

public void setCurrentLevel(Level currentLevel)

setProcessingEnv

public void setProcessingEnv(ProcessingEnvironment processingEnv)

close

public void close()


Copyright © 2010-2013. All Rights Reserved.