A CocoaLumberjack logger for TestFlight
#import "TestFlightLogger.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[TestFlight takeOff:@"your_team_token"];
[DDLog addLogger:[TestFlightLogger sharedInstance]];
DDLog(@"My First Log Message to TestFlight");
}
TestFlightLogger acts as a bridge between CocoaLumberjack and Testflight and therefore carries a dependency on both libraries
CocoaPods is the recommended way to add TestFlightLogger to your project
Here's an example podfile that installs TestFlightLogger and its dependencies
platform :ios, '5.0'
pod 'TestFlightLogger'
TestFlightLogger is available under the MIT license. See the LICENSE file for more info