Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A log formatter for Cocoa Lumberjack
Objective-C Ruby
branch: master

Update version to 1.0.0

latest commit 0140e7162c
Gunnar Herzog authored
Failed to load latest commit information.
Classes typo fix
Project Update version to 1.0.0
Screenshots
.gitignore initial version
CHANGELOG.md
KFLogFormatter.podspec
LICENSE
README.md initial version

README.md

KFLogFormatter

Version Platform

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

Usage

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]];

Requirements

CocoaLumberjack 1.6

Installation

KFLogFormatter is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "KFLogFormatter"

Author

Gunnar Herzog, gunnar.herzog@kf-interactive.com

License

KFLogFormatter is available under the MIT license. See the LICENSE file for more info.

Something went wrong with that request. Please try again.