Package net.minheur.potoflux.logger
Enum Class LogCategories
- All Implemented Interfaces:
Serializable,Comparable<LogCategories>,Constable,ILogCategory
Enum containing all potoflux log categories
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll logs about the mod catalogAll logs related to loading modsAll logs inMOD_LOADERcategory, under mod updateAll logs about the main screen systemAll logs talking about the potoflux terminalAll logs about the themeAll logs about the translation system -
Method Summary
Modifier and TypeMethodDescriptioncode()Getter for the codeString[]more()static LogCategoriesReturns the enum constant of this class with the specified name.static LogCategories[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TERMINAL
All logs talking about the potoflux terminal -
TRANSLATIONS
All logs about the translation system -
MOD_LOADER
All logs related to loading mods -
MOD_UPDATE
All logs inMOD_LOADERcategory, under mod update -
CATALOG
All logs about the mod catalog -
SCREEN
All logs about the main screen system -
THEME
All logs about the theme
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
code
Getter for the code- Specified by:
codein interfaceILogCategory- Returns:
- the category's code
-
more
- Specified by:
morein interfaceILogCategory
-