Add debug logging possibility
With this release you can add low-level http debugging. Main use case is to get an idea of how a response looks like when an error occurs.
Note: While the SDK will try to redact all sensitive information, like enterprise tokens, application id and secrets and alike, it is still not guaranteed, that all sensitive information will be removed. When using this, use it with caution and do not send the logs to someone you do not trust.
Example:
new CFToolsClientBuilder().withHttpClient((auth) => new GotHttpClient(httpClient(true, {
enableDebugLogging: true,
logBody: true,
}), auth))