原文链接:http://hi.baidu.com/imfans/item/5371e7242353c7c6ef10f13a
IOS开发使用Lumberjack库出现问题——》
在工程的.pch文件内添加下面的代码即可解决
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "DDLog.h"
#endif
#ifdef DEBUG
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
#else
static const int ddLogLevel = LOG_LEVEL_WARN;
#endif