How Logbook strategies work
mainA Strategy defines how requests and responses are logged. Logbook uses the Strategy pattern to allow different behaviors regarding timing and pairing of logs.
Built-in strategies include:
BodyOnlyIfStatusAtLeastStrategy: Controls body logging based on HTTP status.StatusAtLeastStrategy: Controls logging based on HTTP status.WithoutBodyStrategy: Logs requests/responses without their bodies.
Refer to the Strategy interface documentation for detailed implications of each implementation.