代码库> 其他> SuperLogger保存NSLog到文件
SuperLogger保存NSLog到文件
关注
上传者:yourtion 分类:其他(Others)
查看次数:2602 下载次数:181
上传时间:2014-12-23 大小:221 B
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];




  
收藏
我来说两句
发表评论
您还没有登录!请登录注册
所有评论(0


综合评论
  • 改一下pch的path
    13152090291 评论了 日历
  • 怎么解决的
    且听风吟吟吟 评论了 XYUISlider
  • pch 报错
    小小段 评论了 日历
  • https://github.com/li199508/LVCycleScrollView
    李俊宇 评论了 LVCycleScrollView
  • 还是有bug,四个选项,选择第二个,再选第三个,然后再点击第二个,就页面失灵了。
    18598270503 评论了 CBSegment
  • 视酷即时通讯,售后服务非常差,当面一套,背后一套,付了钱,啥事不管
    18615677850 评论了 视酷即时通讯群聊系统
提示
sina weixin mail 回到顶部