Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amplitude analytics for iOS: setting up logging level

Is there a way to set up logging level for Amplitude iOS SDK similar to Android's Amplitude.getInstance().enableLogging() and Amplitude.getInstance().setLogLevel(), as I'd like to see how my analytics implementation works in console output in debug mode.

like image 991
deko Avatar asked Nov 01 '25 13:11

deko


1 Answers

Here is the official answer from support:

Yes, it is possible to set up a log level for Amplitude. At the top of each file in the SDK, you can change the AMPLITUDE_DEBUG flag, and you can also change the AMPLITUDE_LOG_ERRORS flag to turn off error logging.

like image 65
deko Avatar answered Nov 03 '25 16:11

deko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!