Package com.prineside.tdi2
Class Logger
java.lang.Object
com.prineside.tdi2.Logger
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic interface - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Writerstatic final Stringstatic PrintStreamstatic PrintStream - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddListener(Logger.LoggerListener listener) static Logger.LogEntryaddToLog(Logger.EntryType type, String tag, String message) static voiddispose()static voidstatic voidstatic voidflushEndlessLogs(boolean rotateIfNeeded) static voidhandleThreadExceptions(Thread thread) static voidhandleThreadExceptions(Thread thread, ActionResolver actionResolver) static voidstatic voidhandleThreadExceptionsForgiving(Thread thread, ActionResolver actionResolver) static voidstatic voidinit(ActionResolver actionResolver) static voidstatic voidstatic voidstatic voidremoveListener(Logger.LoggerListener listener) static voidstatic void 
- 
Field Details
- 
PERFORMANCE_TAG
- See Also:
 
 - 
stdOutPS
 - 
stdErrPS
 - 
_logWriter
 
 - 
 - 
Constructor Details
- 
Logger
public Logger() 
 - 
 - 
Method Details
- 
handleThreadExceptions
 - 
handleThreadExceptionsForgiving
 - 
handleThreadExceptions
 - 
handleThreadExceptionsForgiving
 - 
flushEndlessLogs
public static void flushEndlessLogs(boolean rotateIfNeeded)  - 
initHeadless
public static void initHeadless() - 
init
 - 
handleUncaughtException
 - 
addListener
 - 
removeListener
 - 
addToLog
 - 
log
 - 
log
 - 
error
 - 
error
 - 
report
 - 
report
 - 
dispose
public static void dispose() 
 -