# KKLog **Repository Path**: coneboy/KKLog ## Basic Information - **Project Name**: KKLog - **Description**: A Open source Log System for OC - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2015-04-10 - **Last Updated**: 2025-01-25 ## Categories & Tags **Categories**: logging **Tags**: None ## README # KKLog A Open source Log System for OC ## Requirements KKLog works on any iOS version. Only ARC. ## Adding KKLog to your project Include KKLog wherever you need it with `#import "KKLog.h"` . ### Source files Alternatively you can directly add the `KKLog.h`& `KKLog.m` source files to your project. OR USE POD `pod 'KKLog'` ## Usage 1.Startup void uncaughtExceptionHandler(NSException *exception) { [KKLog logCrash:exception]; } `- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions ` // signExceptionHandler NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler); // install KKlog [KKLog logIntial]; // set logLevel [KKLog setLogLevel:LOGLEVELD]; 2.U can use This method [KKLog logI:@"info"]; [KKLog logE:@"error"]; [KKLog logW:@"worring"];... KKLogI(@"info"); KKLogD(@"DDDD");... 3.Have fun!