VIP Authhub - How to enable logging on AuthHub iOS SDK?
search cancel

VIP Authhub - How to enable logging on AuthHub iOS SDK?

book

Article ID: 259781

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

How to Enable enable logging on AuthHub iOS SDK ?

Environment

Release : any

Resolution

We can enable logging on AuthHub iOS SDK frameworks as follows -
 

let logger:AuthHubCore.Log = AuthHubCore.Log.shared

logger.enableLog(enable: true);

 
Once you enable logging, it creates "AhFIDOSDK.log" at the application document directory.  To get logs, you need to read the file contents of "AhFIDOSDK.log". The maximum log size stored is 50 KB.