| #import "FineGrainedLoggingAppDelegate.h" |
| |
| #import "MYLog.h" |
| #import "DDASLLogger.h" |
| #import "DDTTYLogger.h" |
| |
| #import "TimerOne.h" |
| #import "TimerTwo.h" |
| |
| // Debug levels: off, error, warn, info, verbose |
| static const int ddLogLevel = LOG_LEVEL_VERBOSE; |
| |
| |
| @implementation FineGrainedLoggingAppDelegate |
| |
| @synthesize window; |
| |
| - (void)applicationDidFinishLaunching:(NSNotification *)aNotification |
| { |
| [DDLog addLogger:[DDASLLogger sharedInstance] withLogLevel:LOG_LEVEL_VERBOSE | LOG_FLAG_TIMERS]; |
| [DDLog addLogger:[DDTTYLogger sharedInstance] withLogLevel:LOG_LEVEL_VERBOSE | LOG_FLAG_TIMERS]; |
| |
| timerOne = [[TimerOne alloc] init]; |
| timerTwo = [[TimerTwo alloc] init]; |
| } |
| |
| @end |