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
Fields -
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 com.badlogic.gdx.utils.Array<Logger.LogEntry>
getLog
(int size, boolean withUnNotified) 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
-
Field Details
-
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
-
getLog
public static com.badlogic.gdx.utils.Array<Logger.LogEntry> getLog(int size, boolean withUnNotified) -
addToLog
-
log
-
log
-
error
-
error
-
report
-
report
-
dispose
public static void dispose()
-