✍️ 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
1
[BugBattle disableConsoleLog];
Copied!
1
BugBattle.disableConsoleLog();
Copied!
You MUST call this method before the initialization of the BugBattle SDK.
Last modified 3mo ago
Copy link