Documentation

You can enable client-side logging in the Akula client SDKs to capture information about an executing app.

To enable client-side logging in the Android SDK

Use the following methods of the AK class to control client-side logging in the Android SDK:

  • setLoggingEnabled() - Enable logging by passing a Boolean value of true; disable logging by passing false. Logging is disabled by default.
  • isLoggingEnabled() - Determine if logging is enabled.

With logging enabled, log messages are written to Logcat. All log messages have a tag of "Akula".

To enable client-side logging in the iOS SDK

Use the following methods of the AK class to control client-side logging in the iOS SDK:

  • setLoggingEnabled: - Enable logging by passing a Bool value of YES; disable logging by passing NO. Logging is disabled by default.
  • isLoggingEnabled - Determine if logging is enabled.

With logging enabled, log messages are written to the Console window in Xcode and contain a timestamp, app name, process id, thread and log level, and the log message.

To enable client-side logging in the JavaScript SDK

Use the following methods of the AK class to control client-side logging in the JavaScript SDK:

  • setLoggingEnabled() - Enable logging by passing a Boolean value of true; disable logging by passing false. Logging is disabled by default.
  • isLoggingEnabled() - Determine if logging is enabled.

With logging enabled, log messages are written to the browser's debug console window, and are prefixed by the time and the name of the Akula class that generated the message.