解决IOS开发使用Lumberjack库时出现的Use of undeclared identifier 'ddLogLevel'问题

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

joomla模板

    原文作者:道路修建问题
    原文地址: https://blog.csdn.net/hijoomla/article/details/12917619
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞