V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
NUT
V2EX  ›  iDev

写了个 iOS 日志管理类。 欢迎来吐槽。

  •  
  •   NUT · 2015-04-09 19:14:58 +08:00 · 2970 次点击
    这是一个创建于 3307 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://github.com/Coneboy-k/KKLog


    特性:
    1.顺序队列写入文件,解决多线程丢失写入的问题。
    2.可以设置日志等级。
    3.捕捉部分异常crash。
    4.自动清理功能。
    5.当然是最为舒服的API...


    有些部分参考了其他开源项目,不过我感觉自己这个应该是挺全的。 有些方法没复用,以后在改吧,欢迎大家 pull request。
    6 条回复    2015-04-10 09:42:20 +08:00
    zsq89
        1
    zsq89  
       2015-04-09 19:16:34 +08:00
    have fun
    uuair
        2
    uuair  
       2015-04-09 19:29:41 +08:00 via iPhone
    真高级,但我没看懂,centos能用么
    NUT
        3
    NUT  
    OP
       2015-04-09 19:37:06 +08:00
    @uuair 这个用不了。。。 oc写的
    WildCat
        4
    WildCat  
       2015-04-09 20:36:29 +08:00
    Have fan

    好评!
    NUT
        5
    NUT  
    OP
       2015-04-09 23:22:04 +08:00   ❤️ 1
    @WildCat 233 当时太饿啦。
    pandajohn
        6
    pandajohn  
       2015-04-10 09:42:20 +08:00
    33个star 了哎
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1156 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 88ms · UTC 18:20 · PVG 02:20 · LAX 11:20 · JFK 14:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.