Created
February 17, 2016 01:24
-
-
Save hunk/d69781fc3d3d7c7b16b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Debug log \o/ | |
HKNormal(@"normal log without color, but whit the format of HK"); | |
HKVerbose(@"normal log with Verbose in gray"); | |
HKDebug(@"this line is with a debug word in %@",@"blue"); | |
HKInfo(@"a info log"); | |
HKWarning(@"oh, no, oh no, this is not happening"); | |
HKError(@"aahhhhh, help!!!!!!"); | |
HKAlt(@"alternative color"); | |
HKOpt(@"optional color"); | |
//All lines is in color | |
HKFullColor(true); | |
HKVerbose(@"this is a integer %zd",123); | |
HKInfo(@"and this is a float %f",-123.45678); | |
HKWarning(@"a date:%@",[NSDate date]); | |
HKError(@"array %@",@[@"item 1", @"item 2", @"item 3"]); | |
HKAlt(@"dictionary %@",@{@"name": @"Edgar G", @"nick": @"@hunk"}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment