- Follow instructions for https://github.com/CocoaLumberjack/CocoaLumberjack
- Add the lelib from https://github.com/logentries/le_ios
- You do not need to interact with lelib directly yourself, so don't put their initialization code in you app, probably.
- Add these files here to your project
- #import "LogEntriesLogger.h"
- Do this, probably in -application:didFinishLaunchingWithOptions:
LogEntriesLogger *logEntriesLogger = [[LogEntriesLogger alloc] initWithLogEntriesToken:@"your-logentries-token-here"];
logEntriesLogger.logFormatter = [[HelpfulInfoLogFormatter alloc] init];
[DDLog addLogger:logEntriesLogger];