The Apptimize SDKs will log messages and various details to the console in one of six levels of increasing verbosity: Off, Error, Warning, Info, Debug, and Verbose.

During development / testing for QA / debugging purposes it is helpful to have VERBOSE logging enabled so that you can gain a better understanding of why things are behaving in a certain way, and for Production releases it is common to want logging disabled completely. 

Changing the Log Level is slightly different on each platform:

iOS / tvOS

On iOS / tvOS there are two options for changing your log level:

-Calling the setLogLevel function

-Initializing Apptimize by calling +startApptimizeWithApplicationKey:options:

See the iOS / tvOS SDK documentation for specifics.

Note - By default the iOS SDK is set to an “error” log level.

Android / Android TV

-Initialize Apptimize with the setup call which accepts ApptimizeOptions

See the Android / Android TV SDK documentation for specifics.

Note - By default the Android SDK is set to a “verbose” log level, and in Production releases Proguard will remove all logs tagged higher than "info".

JavaScript, Python, and PHP

-Initialize Apptimize with the setup call which is passing the optional configAttributes

See the JavaScript, Python, and PHP SDK documentation for specifics.

Note - By default the JavaScript, Python, and PHP SDKs are set to a "warning" level.

Did this answer your question?