org.androidannotations.logger.formatter
Class Formatter
java.lang.Object
org.androidannotations.logger.formatter.Formatter
- Direct Known Subclasses:
- FormatterFull, FormatterSimple
public abstract class Formatter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Formatter
public Formatter()
buildLog
public abstract String buildLog(Level level,
String loggerName,
String message,
Throwable thr,
Object... args)
getCurrentThread
protected String getCurrentThread()
getTime
protected String getTime()
buildFullMessage
protected String buildFullMessage(String message,
Object... args)
formatArgument
protected String formatArgument(Object arg)
stackTraceToString
protected String stackTraceToString(Throwable e)
getCallerLineNumber
protected int getCallerLineNumber()
Copyright © 2010-2014. All Rights Reserved.