Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.08 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.08 KB

SuperLogger

Save NSLog() to file and send email to developer

Installation

The preferred way of installation is via CocoaPods. Just add

pod 'SuperLogger'

and run pod install. It will install the most recent version of SuperLogger.

How to use

Import the framework header on AppDelegate.m:

#import "SuperLogger.h"

Init and set email info:

SuperLogger *logger = [SuperLogger sharedInstance];
// Start NSLogToDocument
[logger redirectNSLogToDocumentFolder];
// Set Email info
logger.mailTitle = @"SuperLoggerDemo Logfile";
logger.mailContect = @"This is the SuperLoggerDemo Logfile";
logger.mailRecipients = @[@"yourtion@gmail.com"];

That's it! Have fun with SuperLogger!

Show the Loglist by presentViewController "[[SuperLogger sharedInstance] getListView]"

[self presentViewController:[[SuperLogger sharedInstance] getListView] animated:YES completion:nil];

ScreenShot

ScreenShot1

ScreenShot1

ScreenShot1