你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LogLevel Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. core. util. logging. LogLevel
- com.
- java.
public enum LogLevel
extends Enum<LogLevel>
Enum which represent logging levels used in Azure SDKs.
Fields
ERROR |
Indicates that log level is at error level. |
INFORMATIONAL |
Indicates that log level is at information level. |
NOT_SET |
Indicates that no log level is set. |
VERBOSE |
Indicates that log level is at verbose level. |
WARNING |
Indicates that log level is at warning level. |
Methods inherited from java.lang.Enum
valueOf
clone
compareTo
describeConstable
equals
finalize
getDeclaringClass
hashCode
name
ordinal
toString
Methods inherited from java.lang.Object
Methods
fromString(String logLevelVal)
public static LogLevel fromString(String logLevelVal)
Converts the passed log level string to the corresponding LogLevel.
Parameters
- logLevelVal
- String
Returns
getLogLevel()
public int getLogLevel()
Converts the log level into a numeric representation used for comparisons.
Returns
int
The numeric representation of the log level.