|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Logger.Level>
feign.Logger.Level
public static enum Logger.Level
Controls the level of logging.
Enum Constant Summary | |
---|---|
BASIC
Log only the request method and URL and the response status code and execution time. |
|
FULL
Log the headers, body, and metadata for both requests and responses. |
|
HEADERS
Log the basic information along with request and response headers. |
|
NONE
No logging. |
Method Summary | |
---|---|
static Logger.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Logger.Level[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Logger.Level NONE
public static final Logger.Level BASIC
public static final Logger.Level HEADERS
public static final Logger.Level FULL
Method Detail |
---|
public static Logger.Level[] values()
for (Logger.Level c : Logger.Level.values()) System.out.println(c);
public static Logger.Level valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |