Enable Finotes Logs
You can activate internal logging using a single line API.
Call log API to enable framework logging. Activating log will print all internal framework logs in LogCat including error and warning logs.
AppDelegate Class:
- Objective C
- Swift
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Fn log];
[Fn initialize:application];
}
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
Fn.log()
Fn.initialize(application)
return true
}
When preparing for production release, make sure to remove the log API.