com.coinbase.cdp.core
Enum Constant Details
DEBUG
INFO
WARN
ERROR
Method Details
values
valueOf
name (String) - the name of the enum constant to be returned.
Returns:
LogLevel - the enum constant with the specified name
Throws:
[IllegalArgumentException](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html "class or interface in java.lang") - if this enum class has no constant with the specified name
[NullPointerException](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/NullPointerException.html "class or interface in java.lang") - if the argument is null
getValue
int
fromString
level (String) - the level string (debug, info, warn, error)
Returns:
LogLevel - the corresponding LogLevel
Throws:
[IllegalArgumentException](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html "class or interface in java.lang") - if the string does not match any level