FineGrainedLoggingAppDelegate.m 629 B

12345678910111213141516171819202122232425262728
  1. //
  2. // FineGrainedLoggingAppDelegate.m
  3. // FineGrainedLogging
  4. //
  5. // CocoaLumberjack Demos
  6. //
  7. #import "FineGrainedLoggingAppDelegate.h"
  8. #import "MYLog.h"
  9. #import "TimerOne.h"
  10. #import "TimerTwo.h"
  11. @implementation FineGrainedLoggingAppDelegate
  12. @synthesize window;
  13. - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
  14. {
  15. [DDLog addLogger:[DDASLLogger sharedInstance] withLevel:DDLogLevelVerbose | LOG_FLAG_TIMERS];
  16. [DDLog addLogger:[DDTTYLogger sharedInstance] withLevel:DDLogLevelVerbose | LOG_FLAG_TIMERS];
  17. timerOne = [[TimerOne alloc] init];
  18. timerTwo = [[TimerTwo alloc] init];
  19. }
  20. @end