HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Set Verbosity Level

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)
APM.setLogLevel(APM.logLevel.debug);
APM.setLogLevel(APM.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 Debug was not enough and you need more visibility on what is going on under the hood. Similar to the Debug level, this is not meant to be used on production environments.