LoggingConfig

class LoggingConfig(val logLevel: LogLevel = LogLevel.Headers, val logger: Logger = Logger.Simple, val sanitize: Boolean = true)

Defines the configuration parameters for logging.

Constructors

Link copied to clipboard
constructor(logLevel: LogLevel = LogLevel.Headers, logger: Logger = Logger.Simple, sanitize: Boolean = true)

Properties

Link copied to clipboard

the logger instance to be used by the HTTP client.

Link copied to clipboard

the level of logging to be used by the HTTP client.

Link copied to clipboard
val sanitize: Boolean = true

flag indicating whether to sanitize sensitive information (i.e., authorization header) in the logs