Package ai.tock.shared
Enum Level
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONENo logs.
BASICLogs request and response lines.
Example:
<pre>`--> POST /greeting http/1.1 (3-byte body) <-- 200 OK (22ms, 6-byte body) `</pre> *HEADERSLogs request and response lines and their respective headers.
Example:
<pre>`--> POST /greeting http/1.1 Host: example.com Content-Type: plain/text Content-Length: 3 --> END POST <-- 200 OK (22ms) Content-Type: plain/text Content-Length: 6 <-- END HTTP `</pre> *BODYLogs request and response lines and their respective headers and bodies (if present).
Example:
<pre>`--> POST /greeting http/1.1 Host: example.com Content-Type: plain/text Content-Length: 3 Hi? --> END GET <-- 200 OK (22ms) Content-Type: plain/text Content-Length: 6 Hello! <-- END HTTP `</pre> *
-