V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · Apr 9, 2015 · 3878 views
    This topic created in 4042 days ago, the information mentioned may be changed or developed.
    https://github.com/Coneboy-k/KKLog


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


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

    好评!
    NUT
        5
    NUT  
    OP
       Apr 9, 2015   ❤️ 1
    @WildCat 233 当时太饿啦。
    pandajohn
        6
    pandajohn  
       Apr 10, 2015
    33个star 了哎
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2375 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 01:03 · PVG 09:03 · LAX 18:03 · JFK 21:03
    ♥ Do have faith in what you're doing.