Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add note about logging to readme

  • Loading branch information...
commit e9448210a7fbb99843916b35844e3a1a3b539595 1 parent 0cf9f70
@neilrahilly neilrahilly authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
9 README.md
@@ -84,6 +84,15 @@ because a large number of customers have not moved to ARC yet. To integrate
with an ARC project: Go to Project > Target > Build Phases, double-click on
each Mixpanel file and add the flag: `-fno-objc-arc`.
+# Logging #
+You can turn on Mixpanel logging by adding the following Preprocessor Macros in
+Build Settings: `MIXPANEL_LOG=1` and `MIXPANEL_DEBUG=1`. Setting
+`MIXPANEL_LOG=1` will cause the Mixpanel library to log tracked events and set
+People properties. Setting `MIXPANEL_DEBUG=1` will cause Mixpanel to log
+everything it's doing—queuing, formatting and uploading data—in a very
+fine-grained way, and is useful for understanding how the library works and
+debugging issues.
+
# Further Documentation #
1. [Events iOS Library Documentation](https://mixpanel.com/docs/integration-libraries/iphone)
2. [People iOS Library Documentation](https://mixpanel.com/docs/people-analytics/iphone)
Please sign in to comment.
Something went wrong with that request. Please try again.