Package com.prineside.tdi2
Class Logger
java.lang.Object
com.prineside.tdi2.Logger
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Writer
static final String
static final String
static PrintStream
static PrintStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addListener
(Logger.LoggerListener listener) static Logger.LogEntry
addToLog
(Logger.EntryType type, String tag, String message) static void
dispose()
static void
static void
static void
flushEndlessLogs
(boolean rotateIfNeeded) static void
handleThreadExceptions
(Thread thread) static void
handleThreadExceptions
(Thread thread, ActionResolver actionResolver) static void
static void
handleThreadExceptionsForgiving
(Thread thread, ActionResolver actionResolver) static void
static void
init
(ActionResolver actionResolver) static void
static void
static void
static void
removeListener
(Logger.LoggerListener listener) static void
static void
static void
setLogWriter
(Writer writer)
-
Field Details
-
PERFORMANCE_TAG
- See Also:
-
CRASH_REPORTS_DIR
- See Also:
-
stdOutPS
-
stdErrPS
-
_logWriter
-
-
Constructor Details
-
Logger
public Logger()
-
-
Method Details
-
handleThreadExceptions
-
handleThreadExceptionsForgiving
-
handleThreadExceptions
-
handleThreadExceptionsForgiving
-
setLogWriter
-
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()
-