Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Ceravolo authored and Francesco Ceravolo committed May 8, 2017
1 parent cf77764 commit 9a654b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Blabber/Classes/Base/obj-c/SDLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#define SD_LOGGER_AVAILABLE 1

#if __has_include("CocoaLumberjack.h") || __has_include("CocoaLumberjack/CocoaLumberjack.h")
#define HAS_COCOALAMBERJACK 1
#define HAS_COCOALUMBERJACK 1
#import <CocoaLumberjack/CocoaLumberjack.h>
#endif

Expand Down
6 changes: 4 additions & 2 deletions Blabber/Classes/Base/obj-c/SDLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
#import "SDLogger.h"
#import "DDLog.h"

#ifdef HAS_COCOALUMBERJACK
#import "SDDDFormatter.h"
#endif

#define kGenericModuleName @"SDLogger.Generic"

@interface SDLoggerUtils : NSObject

#ifdef HAS_COCOALUMBERJACK
#import "SDDDFormatter.h"

+ (DDLogLevel)ddLogLevelFromSDLogLevel:(SDLogLevel)level;
+ (DDLogFlag)ddLogFlagFromSDLogLevel:(SDLogLevel)level;
#endif
Expand Down

0 comments on commit 9a654b5

Please sign in to comment.