Closed algrid closed 3 years ago
hi @algrid
Yes, you can.
You can add this API before startWithToken
Instabug.sdkDebugLogsLevel = .error;
@Kmohamed
I just tried it:
Instabug.sdkDebugLogsLevel = .error
print("\(Instabug.sdkDebugLogsLevel == .error)")
It prints true
, but I still can see those "Captured screenshot" messages.
Did you call it before StartWithToken
?
btw Instabug.sdkDebugLogsLevel = .error
will print the error messages only from Instabug, and you can completely disabling it using this line Instabug.sdkDebugLogsLevel = .none
@Kmohamed I was calling it after StartWithToken
. Moved it to call before StartWithToken
, but the result is the same.
Tried Instabug.sdkDebugLogsLevel = .none
and it works - I see no Instabug logs at all.
Yes, none will prevent any Instabug logs, but the error will print error messages only.
Ok, not sure why .error
prints those lines, but anyway .none
is fine for me, thanks!
Hi!
I see a lot of logs like this in my console:
and these line when going to background:
Is there a way to turn off these logs? Too much logs make it hard to debug other stuff in the app (I know, I can filter logs, but still...).
SDK Version
10.5.1
iOS Version
14.4