No Description

ZhangYuqing 3d9020cb03 update 1 year ago
DebugLogService 3d9020cb03 update 1 year ago
Example 3d9020cb03 update 1 year ago
.gitignore ac24461fbc Initial commit 2 years ago
.travis.yml ac24461fbc Initial commit 2 years ago
DebugLogService.podspec 3d9020cb03 update 1 year ago
LICENSE ac24461fbc Initial commit 2 years ago
README.md 3c4549962a 添加自定义拉出最新日志条数的代码 2 years ago
_Pods.xcodeproj ac24461fbc Initial commit 2 years ago

README.md

DebugLogService

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

DebugLogService is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DebugLogService'

How to Use

import Header Files

#ifdef DEBUG
#import <DebugLogService/ZCDebugService.h>
#endif

add log code

#ifdef DEBUG
    NSString *logString = @"这里是来自Pod工程的测试日志:#####";
    [ZCDebugService addDebugLogToCloudServer:logString];
#endif

Then go to web see the debug log

https://open.zhangyuqing.me/debug/index.php?bundle=com.szzc.szzc&size=30

Author

[email protected], [email protected]

License

DebugLogService is available under the MIT license. See the LICENSE file for more info.