LogLevel Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. bot. restclient. LogLevel
- com.
- java.
public enum LogLevel
extends java.lang.Enum<LogLevel>
Describes the level of HTTP traffic to log.
Fields
| BASIC |
Logs only URLs, HTTP methods, and time to finish the request. |
| BODY |
Logs everything in BASIC, plus all the request and response body. |
| BODY_AND_HEADERS |
Logs everything in HEADERS and BODY. |
| HEADERS |
Logs everything in BASIC, plus all the request and response headers. |
| NONE |
Logging is turned off. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
isPrettyJson()
public boolean isPrettyJson()
Returns
valueOf(String name)
values()
withPrettyJson(boolean prettyJson)
public LogLevel withPrettyJson(boolean prettyJson)
Specifies whether to log prettified JSON.
Parameters
- prettyJson
- boolean