Enum Class LogCategories

java.lang.Object
java.lang.Enum<LogCategories>
net.minheur.potoflux.logger.LogCategories
All Implemented Interfaces:
Serializable, Comparable<LogCategories>, Constable, ILogCategory

public enum LogCategories extends Enum<LogCategories> implements ILogCategory
Enum containing all potoflux log categories
  • Enum Constant Details

    • TERMINAL

      public static final LogCategories TERMINAL
      All logs talking about the potoflux terminal
    • TRANSLATIONS

      public static final LogCategories TRANSLATIONS
      All logs about the translation system
    • MOD_LOADER

      public static final LogCategories MOD_LOADER
      All logs related to loading mods
    • MOD_UPDATE

      public static final LogCategories MOD_UPDATE
      All logs in MOD_LOADER category, under mod update
    • CATALOG

      public static final LogCategories CATALOG
      All logs about the mod catalog
    • SCREEN

      public static final LogCategories SCREEN
      All logs about the main screen system
    • THEME

      public static final LogCategories THEME
      All logs about the theme
  • Method Details

    • values

      public static LogCategories[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogCategories valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • code

      public String code()
      Getter for the code
      Specified by:
      code in interface ILogCategory
      Returns:
      the category's code
    • more

      public String[] more()
      Specified by:
      more in interface ILogCategory