Skip to content

Commit

Permalink
Merge pull request #539 from CocoaLumberjack/undo_loglevel_def_check
Browse files Browse the repository at this point in the history
Fix #478 by reverting #473
  • Loading branch information
bpoplauschi committed Jun 24, 2015
2 parents 1e8b3f5 + 932a65e commit 5362c33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions Classes/DDLogMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@
* The constant/variable/method responsible for controlling the current log level.
**/
#ifndef LOG_LEVEL_DEF
#ifdef ddLogLevel
#define LOG_LEVEL_DEF ddLogLevel
#else
#define LOG_LEVEL_DEF DDLogLevelVerbose
#endif
#define LOG_LEVEL_DEF ddLogLevel
#endif

/**
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ pod 'CocoaLumberjack'
#### Migrating to 2.x

* Replace `DDLog.h` imports by `#import <CocoaLumberjack/CocoaLumberjack.h>`.
* Using `ddLogLevel` to start using the library is now optional. If you define it add `#define LOG_LEVEL_DEF ddLogLevel` before `#import <CocoaLumberjack/CocoaLumberjack.h>` and make change its type to `DDLogLevel`

Advanced users, third party libraries:

Expand Down

0 comments on commit 5362c33

Please sign in to comment.