CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Gunnar Herzog.
A log message formatter for CocoaLumberjack.
The KFLogFormatter class provides a log formatter for the CocoaLunmberjack
logging framework. It formats messages in the form:
LOG_LEVEL DATE, TIME -[CLASSNAME METHOD][Line LINE_NUMBER] LOG_MESSAGE
To run the example project; clone the repo, and run pod install
from the Project directory first.
The Formatter can be included into your project by importing the header:
#import <KFLogFormatter/KFLogFormatter.h>
defining ddLogLevel:
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
and setting it as log formatter:
[DDLog addLogger:[DDTTYLogger sharedInstance]];
[[DDTTYLogger sharedInstance] setLogFormatter:[KFLogFormatter new]];
CocoaLumberjack 1.6
Gunnar Herzog, [email protected]
KFLogFormatter is available under the MIT license. See the LICENSE file for more info.