Class LogFormatter
java.lang.Object
io.helidon.http.LogFormatter
Header formatter for protocol logs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LogFormattercreate(HttpLogConfig config) Create a formatter.static StringEscape a string before including it in a log record.Format headers for protocol logs.Format all header values for explicitly enabled unsafe protocol logs.static StringRemove query and fragment data from a request target before logging it.
-
Method Details
-
create
Create a formatter.- Parameters:
config- HTTP log configuration- Returns:
- a new formatter
-
escape
-
pathOnly
-
format
-
formatAll
-