You can control the level of verbosity of the Instabug logs using the following APIs.
APM.logLevel = IBGLogLevel.Debug
IBGAPM.logLevel = IBGLogLevelDebug;
// Set log level APM.setLogLevel(LogLevel.DEBUG);
// Set log level APM.setLogLevel(LogLevel.DEBUG)
Here are the availble level values.
None: disables all APM SDK console logs.
Error: prints errors only, we use this level to let you know if something goes wrong.
Warning: displays warnings that will not necessarily lead to errors but should be addressed nonetheless.
Info: this is the default level and it logs information that we think is useful without being too verbose.
Debug: use this in case you are debugging an issue. Not recommended for production use.
Verbose: use this only if
Debugwas not enough and you need more visibility on what is going on under the hood. Similar to the
Debuglevel, this is not meant to be used on production environments.