Package cl.cromer.azaraka
Enum Constants.LogLevel
- java.lang.Object
-
- java.lang.Enum<Constants.LogLevel>
-
- cl.cromer.azaraka.Constants.LogLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Constants.LogLevel>
- Enclosing interface:
- Constants
public static enum Constants.LogLevel extends java.lang.Enum<Constants.LogLevel>
This enum contains all the levels used for logging
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AI
The AI log levelANIMATION
The animation log levelCANVAS
The canvas log levelCHEST
The chest log levelENEMY
The enemy log levelGEM
The gem log levelGLOBAL
The global log level is used if the individual log levels are notJSON
The json log levelKEY
The key log levelMAIN
The main log levelMAIN_WINDOW
The main window log levelPLAYER
The player log levelPORTAL
The portal log levelSCENE
The escenario log levelSHEET
The sheet log levelSOUND
The sound log level
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.logging.Level
getLevel()
Get the level for the specific partstatic Constants.LogLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Constants.LogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBAL
public static final Constants.LogLevel GLOBAL
The global log level is used if the individual log levels are not
-
MAIN
public static final Constants.LogLevel MAIN
The main log level
-
MAIN_WINDOW
public static final Constants.LogLevel MAIN_WINDOW
The main window log level
-
CANVAS
public static final Constants.LogLevel CANVAS
The canvas log level
-
SCENE
public static final Constants.LogLevel SCENE
The escenario log level
-
PLAYER
public static final Constants.LogLevel PLAYER
The player log level
-
ENEMY
public static final Constants.LogLevel ENEMY
The enemy log level
-
CHEST
public static final Constants.LogLevel CHEST
The chest log level
-
SOUND
public static final Constants.LogLevel SOUND
The sound log level
-
ANIMATION
public static final Constants.LogLevel ANIMATION
The animation log level
-
SHEET
public static final Constants.LogLevel SHEET
The sheet log level
-
KEY
public static final Constants.LogLevel KEY
The key log level
-
JSON
public static final Constants.LogLevel JSON
The json log level
-
GEM
public static final Constants.LogLevel GEM
The gem log level
-
AI
public static final Constants.LogLevel AI
The AI log level
-
PORTAL
public static final Constants.LogLevel PORTAL
The portal log level
-
-
Method Detail
-
values
public static Constants.LogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Constants.LogLevel c : Constants.LogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constants.LogLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getLevel
protected java.util.logging.Level getLevel()
Get the level for the specific part- Returns:
- Returns the level
-
-