HttpLogOptions.setPrettyPrintBody(boolean prettyPrintBody) Method

Definition

Sets flag to allow pretty printing of message bodies.

public HttpLogOptions setPrettyPrintBody(boolean prettyPrintBody)

Parameters

prettyPrintBody
boolean

If true, pretty prints message bodies when logging. If the detailLevel does not include body logging, this flag does nothing.

Returns

The updated HttpLogOptions object.

Applies to