Package io.agora.rtc2
Enum Class Constants.LogLevel
- All Implemented Interfaces:
Serializable,Comparable<Constants.LogLevel>,Constable
- Enclosing class:
- Constants
Log Level.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOutputs logs of the ERROR level.Outputs logs of the CRITICAL level.Outputs logs of the INFO level.Outputs no log.Outputs logs of the WARNING level. -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetValue(Constants.LogLevel type) static Constants.LogLevelReturns the enum constant of this class with the specified name.static Constants.LogLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LOG_LEVEL_NONE
Outputs no log. -
LOG_LEVEL_INFO
Outputs logs of the INFO level. -
LOG_LEVEL_WARN
Outputs logs of the WARNING level. -
LOG_LEVEL_ERROR
Outputs logs of the ERROR level. -
LOG_LEVEL_FATAL
Outputs logs of the CRITICAL level.
-
-
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
-
getValue
-