/
Error Logging Guide
Error Logging Guide
Gini Capture SDK logs errors to the Gini Bank API when the default networking implementation is used (see Default Implementation). We log only non-sensitive information like response status codes, headers, and error messages.
You can deactivate the default error logging by passing false to GiniConfiguration.shared.giniErrorLoggerIsOn
.
If you want to get informed of error logging events, set GiniConfiguration.shared.customGiniErrorLoggerDelegate
which confirms to GiniCaptureErrorLoggerDelegate
:
class CustomErrorLogger: GiniCaptureErrorLoggerDelegate {
func handleErrorLog(error: ErrorLog) {
//TODO
}
}
let giniConfiguration = GiniConfiguration()
giniConfiguration.customGiniErrorLoggerDelegate = CustomErrorLogger()
, multiple selections available,
Related content
Error Logging Guide
Error Logging Guide
More like this
Error Logging Guide
Error Logging Guide
More like this
Error Logging Guide
Error Logging Guide
More like this
Error Logging Guide
Error Logging Guide
More like this
Error Logging Guide
Error Logging Guide
More like this
Error Logging Guide
Error Logging Guide
More like this