Package io.agora.rtc2
Enum Class Constants.LogLevel
- All Implemented Interfaces:
Serializable,Comparable<Constants.LogLevel>,Constable
- Enclosing class:
- Constants
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0x0004: Output `FATAL` and `ERROR` level log information.0x0008: Output `FATAL` level log information.0x0001: (Default) Output `FATAL`, `ERROR`, `WARN`, and `INFO` level log information.0: Do not output any log information.0x0002: Output `FATAL`, `ERROR`, and `WARN` level log information. -
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
0: Do not output any log information. -
LOG_LEVEL_INFO
0x0001: (Default) Output `FATAL`, `ERROR`, `WARN`, and `INFO` level log information. We recommend setting your log filter to this level. -
LOG_LEVEL_WARN
0x0002: Output `FATAL`, `ERROR`, and `WARN` level log information. -
LOG_LEVEL_ERROR
0x0004: Output `FATAL` and `ERROR` level log information. -
LOG_LEVEL_FATAL
0x0008: Output `FATAL` level log information.
-
-
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
-