Class Logger

java.lang.Object
com.prineside.tdi2.Logger

public class Logger extends Object
  • Field Details

  • Constructor Details

    • Logger

      public Logger()
  • Method Details

    • handleThreadExceptions

      public static void handleThreadExceptions(Thread thread)
    • handleThreadExceptionsForgiving

      public static void handleThreadExceptionsForgiving(Thread thread)
    • handleThreadExceptions

      public static void handleThreadExceptions(Thread thread, ActionResolver actionResolver)
    • handleThreadExceptionsForgiving

      public static void handleThreadExceptionsForgiving(Thread thread, ActionResolver actionResolver)
    • flushEndlessLogs

      public static void flushEndlessLogs(boolean rotateIfNeeded)
    • initHeadless

      public static void initHeadless()
    • init

      public static void init(ActionResolver actionResolver)
    • handleUncaughtException

      public static void handleUncaughtException(Thread t, Throwable e)
    • addListener

      public static void addListener(Logger.LoggerListener listener)
    • removeListener

      public static void removeListener(Logger.LoggerListener listener)
    • getLog

      public static com.badlogic.gdx.utils.Array<Logger.LogEntry> getLog(int size, boolean withUnNotified)
    • addToLog

      public static Logger.LogEntry addToLog(Logger.EntryType type, String tag, String message)
    • log

      public static void log(String tag, String message)
    • log

      public static void log(String tag, String message, Throwable t)
    • error

      public static void error(String tag, String message)
    • error

      public static void error(String tag, String message, Throwable e)
    • report

      public static void report(String reason)
    • report

      public static void report(String reason, Throwable exception)
    • dispose

      public static void dispose()