/Antenna

Extensible Remote Logging for iOS

Primary LanguageObjective-CMIT LicenseMIT

Antenna

Extensible Remote Logging for iOS

Visibility into how users interact with your app is invaluable. This information can go a long way to inform user interaction design, and improve business conversion rates. Antenna provides this crucial level of visibility in a way that captures majority usage information by default, but also allows you to tune everything according to your app's particular needs.

Antenna asynchronously logs notifications to any number of web services, files, or Core Data entities. Each logging message comes with global state information, including a unique identifier for the device, along with any additional data from the notification itself.

When paired with rack-http-logger, iOS system events can be streamed directly into your web application logs for integrated analysis.

This project is part of a series of open source libraries covering the mission-critical aspects of an iOS app's infrastructure. Be sure to check out its sister projects: GroundControl, SkyLab, CargoBay, houston, and Orbiter.

AppDelegate.m

- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [[Antenna sharedLogger] addChannelWithURL:[NSURL URLWithString:@"http://example.com"] method:@"LOG"];
  [[Antenna sharedLogger] startLoggingApplicationLifecycleNotifications];
  [[Antenna sharedLogger] startLoggingNotificationName:AntennaExampleNotification];

  // ...
}

Contact

Mattt Thompson @mattt

License

Antenna is available under the MIT license. See the LICENSE file for more info.