IOS开发使用Lumberjack库出现问题——》Use of undeclared identifier ‘ddLogLevel’
在工程的.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