public enum LogLevel extends Enum<LogLevel>
| Modifier and Type | Method and Description |
|---|---|
static long |
combine(LogLevel... modes)
组合多个模式为 flags
|
long |
mask() |
boolean |
matches(long flags)
判断当前模式是否包含某个标志位
|
static LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevel LOG_DEBUG_OFF
public static final LogLevel LOG_DEBUG_WITH_REQUEST
public static final LogLevel LOG_DEBUG_WITH_REQUEST_BODY
public static final LogLevel LOG_DEBUG_WITH_REQUEST_ID
public static final LogLevel LOG_DEBUG_WITH_RESPONSE
public static final LogLevel LOG_DEBUG_WITH_RESPONSE_BODY
public static final LogLevel LOG_DEBUG_WITH_SIGNING
public static final LogLevel LOG_DEBUG_WITH_ENDPOINT
public static final LogLevel LOG_DEBUG_WITH_REQUEST_RETRIES
public static final LogLevel LOG_DEBUG_WITH_CONFIG
public static final LogLevel LOG_DEBUG_ALL
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static LogLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long mask()
public static long combine(LogLevel... modes)
public boolean matches(long flags)
Copyright © 2025. All rights reserved.