I want to use CocoaLumberjack and am trying to insert the ddLogLevel
const
in my .pch file:
#if DEBUG
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
#else
static const int ddLogLevel = LOG_LEVEL_INFO;
#endif
However, since I'm using XMPP framework, and that uses CocoaLumberjack, I'm getting Redefinition of 'ddLogLevel'
errors since those classes contain the exact same const
definitions as above.
I definitely don't want to define ddLogLevel
in every one of my classes to avoid this. How can I get around this?