Class Logger

java.lang.Object
com.xpdustry.simple_blacklist.Logger

public class Logger extends Object
  • Field Details

    • empty

      protected static final Object[] empty
    • tagsColors

      protected static final String[] tagsColors
    • slf4mdPresent

      protected static boolean slf4mdPresent
      Will use slf4j when slf4md plugin is present
    • mainTopic

      public static String mainTopic
    • topicFormat

      public static String topicFormat
    • logger

      public static arc.util.Log.LogHandler logger
  • Constructor Details

    • Logger

      public Logger()
  • Method Details

    • init

      public static void init(mindustry.mod.Mod mod)
      Sets the main topic using the mod.
    • init

      public static void init(Class<? extends mindustry.mod.Mod> mod)
      Sets the main topic using the mod class.
    • init

      public static void init(String mainTopic)
      Sets the main topic
    • logImpl

      protected static void logImpl(arc.util.Log.LogLevel level, String text, Throwable th, Object... args)
    • log

      public static void log(arc.util.Log.LogLevel level, String text, Object... args)
    • log

      public static void log(arc.util.Log.LogLevel level, String text)
    • debug

      public static void debug(String text, Object... args)
    • debug

      public static void debug(Object object)
    • info

      public static void info(String text, Object... args)
    • info

      public static void info(Object object)
    • warn

      public static void warn(String text, Object... args)
    • warn

      public static void warn(String text)
    • err

      public static void err(String text, Throwable th, Object... args)
    • err

      public static void err(String text, Object... args)
    • err

      public static void err(String text, Throwable th)
    • err

      public static void err(String text)
    • err

      public static void err(Throwable th)
    • ln

      public static void ln()
      Log an empty "info" line.