LumberjackConsole icon indicating copy to clipboard operation
LumberjackConsole copied to clipboard

in demo - you're using pch -

Open johndpope opened this issue 7 years ago • 2 comments

THIS DOESN'T WORK / no logs are displayed - although compiles fine.

static const int ddLogLevel = 1;

THIS WORKS

#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
    #import <CocoaLumberjack/CocoaLumberjack.h>

    #define ddLogLevel DDLogLevelVerbose
#endif

johndpope avatar Nov 24 '18 16:11 johndpope

Does your PR close this?

rivera-ernesto avatar Nov 28 '18 12:11 rivera-ernesto

No. PR just overcomes import error. There’s no errors per se, but no logging appears in logger.

johndpope avatar Nov 28 '18 13:11 johndpope