Package-level declarations

Types

Link copied to clipboard

Compact single-line log formatter.

Link copied to clipboard
class ConsoleHttpLogger(formatter: HttpLogFormatter = DefaultHttpLogFormatter()) : HttpLogger

Simple console-based HttpLogger that prints to stdout.

Link copied to clipboard
class DefaultHttpLogFormatter(includeHeaders: Boolean = true, includeBody: Boolean = true, maxBodyLength: Int = 1000, maskSensitiveHeaders: Boolean = true) : HttpLogFormatter

Default log formatter with a human-readable multi-line format.

Link copied to clipboard

Interface for formatting HTTP request/response log messages.

Link copied to clipboard
interface HttpLogger

Interface for logging HTTP requests and responses.

Link copied to clipboard

Factory for creating HttpLogger instances.

Link copied to clipboard
class JulHttpLogger(formatter: HttpLogFormatter = DefaultHttpLogFormatter(), logLevel: Level = Level.INFO) : HttpLogger

Default HttpLogger implementation using java.util.logging (JUL).