logMode

abstract var logMode: LogMode?

Configure events that will be logged. By default, clients will not output raw requests or responses. Configure the sdk.logMode JVM system property, SDK_LOG_MODE environment variable, or use this setting to opt in to additional debug logging.

This can be used to configure logging of requests, responses, retries, etc of SDK clients.

NOTE: Logging of raw requests or responses may leak sensitive information! It may also have performance considerations when dumping the request/response body. This is primarily a tool for debug purposes.