Latest 0.0.2
Homepage https://github.com/leisurehuang/OCLog
License MIT
Platforms ios 8.0, requires ARC
Authors

OCLog

Build Status
CocoaPods Compatible
Platform

a log system for iOS platform

We can easy to use this lib to print a log with more infos such as time, method name, lines and other detail.

We have 5 log level. VEND/DEBUG/INFO/WARNING/ERROR.

We can catch all the crash stack infos.

We can write all the log to a local file and then you can send it to the remote server.

How to use?

[OCRichLog logInitial];  
OCRichLogV(@"this is a debug log");
OCRichLogD(@"this is a debug log");
OCRichLogI(@"this is a info log");
OCRichLogW(@"this is a warning log");
OCRichLogE(@"this is a error log");

Update:

2017/01/11:

add UIBlockCheckThread to the project, and now you can use the thread to check UI block issues.
How to use it?

  UIBlockCheckThread *checkThread = [[UIBlockCheckThread alloc] init];
  [checkThread start];

2017/08/08:

code refactor for log code and fix performance issues.

Also you can use CocoaPods to manage this lib, call

pod 'OCLog'

Enjoy.
Lei

Latest podspec

{
    "name": "OCLog",
    "version": "0.0.2",
    "summary": "a log system for iOS platform",
    "description": "We can easy to use this lib to print a log with more infos such as time, method name, lines and other detail.nWe have 5 log level. VEND/DEBUG/INFO/WARNING/ERROR.nWe can catch all the crash stack infos.nWe can write all the log to a local file and then you can send it to the remote server.",
    "homepage": "https://github.com/leisurehuang/OCLog",
    "license": {
        "type": "MIT",
        "file": "License.txt"
    },
    "authors": {
        "leisurehuang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/leisurehuang/OCLog.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "OCLog",
        "OCLog/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This