Package tv.hd3g.fflauncher.enums
Enum FFLogLevel
- java.lang.Object
-
- java.lang.Enum<FFLogLevel>
-
- tv.hd3g.fflauncher.enums.FFLogLevel
-
- All Implemented Interfaces:
Serializable,Comparable<FFLogLevel>
public enum FFLogLevel extends Enum<FFLogLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUGShow everything, including debugging information.ERRORShow all errors, including ones which can be recovered from.FATALOnly show FATAL errors.INFOShow informative messages during processing.PANICOnly show FATAL errors which could lead the process to crash, such as an assertion failure.QUIETShow nothing at all; be silent.TRACEVERBOSESame as INFO, except more VERBOSE.WARNINGShow all warnings and errors.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static FFLogLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static FFLogLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUIET
public static final FFLogLevel QUIET
Show nothing at all; be silent.
-
PANIC
public static final FFLogLevel PANIC
Only show FATAL errors which could lead the process to crash, such as an assertion failure. This is not currently used for anything.
-
FATAL
public static final FFLogLevel FATAL
Only show FATAL errors. These are errors after which the process absolutely cannot continue.
-
ERROR
public static final FFLogLevel ERROR
Show all errors, including ones which can be recovered from.
-
WARNING
public static final FFLogLevel WARNING
Show all warnings and errors. Any message related to possibly incorrect or unexpected events will be shown.
-
INFO
public static final FFLogLevel INFO
Show informative messages during processing. This is in addition to warnings and errors. This is the default value.
-
VERBOSE
public static final FFLogLevel VERBOSE
Same as INFO, except more VERBOSE.
-
DEBUG
public static final FFLogLevel DEBUG
Show everything, including debugging information.
-
TRACE
public static final FFLogLevel TRACE
-
-
Method Detail
-
values
public static FFLogLevel[] 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 (FFLogLevel c : FFLogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FFLogLevel valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<FFLogLevel>
-
-