On failed HTTP responses (non-success status), the SDK logs the API name, operation, status code, HTTP method, request URL, and response headers. Enable debug on your logger to troubleshoot authentication issues, expired tokens, and other API errors.
SDK-level errors surfaced during client initialization or configuration.
Informational SDK messages, such as deprecation guidance for specific APIs.
Deprecation notices and configuration warnings (for example conflicting credentials or deprecated region parameters).
Logger interface for SDK log output.
Pass any object implementing
debug,info,warn, anderrorvia theloggeroption when initializingSinchClient. Messages use LogMessage.