marinofaggiana e98af9bfd5 update cartfile 6 năm trước cách đây
..
English.lproj 7a5e0fd9c0 Add SVGKit Library 6 năm trước cách đây
FineGrainedLogging-Info.plist 7a5e0fd9c0 Add SVGKit Library 6 năm trước cách đây
FineGrainedLoggingAppDelegate.h efdf252e82 add FastScroll 6 năm trước cách đây
FineGrainedLoggingAppDelegate.m efdf252e82 add FastScroll 6 năm trước cách đây
FineGrainedLogging_Prefix.pch efdf252e82 add FastScroll 6 năm trước cách đây
MYLog.h efdf252e82 add FastScroll 6 năm trước cách đây
ReadMe.txt 7a5e0fd9c0 Add SVGKit Library 6 năm trước cách đây
TimerOne.h efdf252e82 add FastScroll 6 năm trước cách đây
TimerOne.m efdf252e82 add FastScroll 6 năm trước cách đây
TimerTwo.h efdf252e82 add FastScroll 6 năm trước cách đây
TimerTwo.m efdf252e82 add FastScroll 6 năm trước cách đây
main.m efdf252e82 add FastScroll 6 năm trước cách đây

ReadMe.txt

This Xcode project demonstrates fine grained logging. The Lumberjack framework supports much more than simple log levels. For example, you might want to categorize your log statements according to functionality. This would allow you to toggle log statements according to the modules you are currently developing. For example:

DDLogEngine(@"Low oil");
DDLogRadio(@"Switching to FM2");

It could even be more advanced than this. You might have log levels within the separate log statements. For example:

DDLogEngineWarn(@"Low oil");
DDLogRadioVerbose(@"Switching to FM2");

Then you could change log levels per module.

As you can see, the framework is very flexible. Each project may have different logging requirements, and you can customize the framework to match your needs.

This particular project demonstrates adding two new log statements based on functionality. They represent hypothetical timers which are critical to the application. The implementation of these timers also spans across multiple files, so there is a need to have central control over the log statements.

For more information, see the Wiki article:
https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/FineGrainedLogging