Skip to content

Instantly share code, notes, and snippets.

@fikeminkel
Last active July 12, 2016 19:16
Show Gist options
  • Save fikeminkel/d7142faa10e52ccc28772949e99390e3 to your computer and use it in GitHub Desktop.
Save fikeminkel/d7142faa10e52ccc28772949e99390e3 to your computer and use it in GitHub Desktop.
Sample application:didFinishLaunchingWithOptions
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
GlobalAppearance.setup()
NewRelic.enableFeatures([NRMAFeatureFlags.NRFeatureFlag_NSURLSessionInstrumentation, NRMAFeatureFlags.NRFeatureFlag_HttpResponseBodyCapture])
NewRelic.startWithApplicationToken("AA0c7adbf8d4ae29c081f35bd0764243d19a44b5fb");
NewRelic.setMaxEventBufferTime(1)
NRLogger.setLogLevels(0xffff)
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment