| #import "Tigers.h" | |
| #import "DDLog.h" | |
| // Log levels: off, error, warn, info, verbose | |
| static int ddLogLevel = LOG_LEVEL_WARN; | |
| @implementation Tigers | |
| + (int)ddLogLevel | |
| { | |
| return ddLogLevel; | |
| } | |
| + (void)ddSetLogLevel:(int)logLevel | |
| { | |
| ddLogLevel = logLevel; | |
| } | |
| + (void)logStuff | |
| { | |
| DDLogError(@"%@ - Error", THIS_FILE); | |
| DDLogWarn(@"%@ - Warn", THIS_FILE); | |
| DDLogInfo(@"%@ - Info", THIS_FILE); | |
| DDLogVerbose(@"%@ - Verbose", THIS_FILE); | |
| } | |
| @end |