Package laas.openrobots.ontology.helpers
Enum Class VerboseLevel
- All Implemented Interfaces:
Serializable
,Comparable<VerboseLevel>
,Constable
This enum defines the various possible verbosity levels for server messages.
Theses values can be used in the code (with the
Logger.log(String, VerboseLevel)
method in particular) of in the configuration file.
Note that the order of the enum constant is important since for a given level
of verbosity, all messages with a superior level of verbosity will be displayed
as well.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNot very important debug info.Very verbose debug information, used to track concurrency errors.Emphasized standard information"Normal" error, that will be reported to the clientsError that trigger the direct interuption of the applicationImportant information that should be emphasized in a logStandard informationError that "shouldn't happen" but the server can live with.Only for use in the config file.Important debug infoNot an error, but an important information that can alter the way the server works. -
Method Summary
Modifier and TypeMethodDescriptionstatic VerboseLevel
Returns the enum constant of this class with the specified name.static VerboseLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SILENT
Only for use in the config file. Indicates that nothing must be displayed. -
FATAL_ERROR
Error that trigger the direct interuption of the application -
SERIOUS_ERROR
Error that "shouldn't happen" but the server can live with. -
ERROR
"Normal" error, that will be reported to the clients -
WARNING
Not an error, but an important information that can alter the way the server works. -
IMPORTANT
Important information that should be emphasized in a log -
EMPHASIZE
Emphasized standard information -
INFO
Standard information -
VERBOSE
Important debug info -
DEBUG
Not very important debug info. -
DEBUG_CONCURRENCY
Very verbose debug information, used to track concurrency errors.
-
-
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
-