✍️ Console logs

Console logs are collected by default.

Console logs will only work if you initialize the BugBattle SDK within your AppDelegate.

Disable console logs

In some situations you want to disable the collection of console logs. (For example if you have conflicting libraries, which also access the console log).

Call the following method to disable the console logs.

Objective-C
Swift
Objective-C
[BugBattle disableConsoleLog];
Swift
BugBattle.disableConsoleLog();

You MUST call this method before the initialization of the BugBattle SDK.