CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Chun Ye.
CCLogSystem provide an iOS Log System. We can use to replace NSLog in our project.And it also provide recording logs to the local file and review or email logs in our app.
中文版本请戳: Chun Tips
CCLogSytem is available as a CocoaPod.
pod 'CCLogSystem'
You can also simply copy all the source files located inside CCLogSystem/CCLogSystem/* into your iOS project.
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions: (NSDictionary *)launchOptions
{
[CCLogSystem setupDefaultLogConfigure];
}
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[CCLogSystem setupDefaultLogConfigure];
CC_LOG(@"%@", application);
// print: 2014-10-31 15:28:41.038 . <NSThread: 0x174063880>{number = 1, name = main} AppDelegate.m at 24 (-[AppDelegate application:willFinishLaunchingWithOptions:]): <UIApplication: 0x146e01cb0>
}
CC_LOG_VALUE(application);
id applicationTemp = application;
CC_LOG_VALUE(applicationTemp);
CC_LOG_VALUE(self.window);
CC_LOG_VALUE(self.window.frame);
CC_LOG_VALUE(self.window.transform);
Class applicationClass = NSClassFromString(@"UIApplication");
CC_LOG_VALUE(applicationClass);
SEL selector = @selector(application:continueUserActivity:restorationHandler:);
CC_LOG_VALUE(selector);
NSInteger test = 100;
CC_LOG_VALUE(test);
float test2 = 100.000001;
CC_LOG_VALUE(test2);
char test3 = 'a';
CC_LOG_VALUE(test3);
TestBlock testBlock = ^{
};
CC_LOG_VALUE(testBlock);
[CCLogSystem activeDeveloperUI];