Skip to content

sagmor/TestFlightLogger

Repository files navigation

TestFlightLogger

A CocoaLumberjack logger for TestFlight

Usage

AppDelegate.h

#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");
}

Requirements

TestFlightLogger acts as a bridge between CocoaLumberjack and Testflight and therefore carries a dependency on both libraries

Installation

CocoaPods is the recommended way to add TestFlightLogger to your project

Here's an example podfile that installs TestFlightLogger and its dependencies

Podfile

platform :ios, '5.0'

pod 'TestFlightLogger'

License

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

About

A CocoaLumberjack logger for TestFlight

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published