Fork me on GitHub

CCDebug 一种灵活的、轻量级的、可扩展的、可定制的日志调试 支持iOS与macOS

CCDebug [ iOS && OSX ]

CCDebug : 一种灵活的、轻量级的、可扩展的、可定制的日志调试 支持 iOS && OSX

=======================

https://github.com/ccworld1000/CCDebug.git

首选安装 XcodeColors

https://github.com/robbiehanson/XcodeColors

支持 Xcode 4, 5, 6, 7, 8 , 9 & 10

bug 或建议

G Email : ccworld1000@gmail.com

Podfile

1
pod 'CCDebug'

Demo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+ (void) logTest {
[CCDebug debugLogSwitch: YES];

[CCDebug enableNSLogPrefix: NO];

/**
* colorRGBEnable | [XcodeColors installation] https://github.com/robbiehanson/XcodeColors
* screenshot https://github.com/ccworld1000/CCDebug
* @param showColor showColor description
*/
[CCDebug colorRGBEnable: YES];

[CCDebug warningCustomColors:60 green:120 blue:60];

CCDebugWarningPrint(@"cc warning");
CCDebugErrorPrint(@"cc error");
CCDebugPrint(@"cc log");

CCDebugTimerPrint(@"NStimer test");
}

截屏

OSX

CCDebug Mac Screenshot

iOS

CCDebug iOS Screenshot

OSX Xcode_8.3.2

CCDebug Mac Xcode_8.3.2 Screenshot

iOS Xcode_8.3.2

CCDebug iOS Xcode_8.3.2 Screenshot

CCDebug

CCDebug 简单支持 machosx 与 iOS.