I want to replace NSLog with CocoaLumberjack, and I follow the GettingStarted, then add
DDLogError(@"This is an error.");
DDLogWarn(@"This is a warning.");
DDLogInfo(@"This is just a message.");
DDLogVerbose(@"This is a verbose message.");
but why there is no log message in XCode's console?
Lumberjack is a generic logging framework. You have to config it to use one (or more) specific log outputs. E.g., for Apple's console, you have to use:
[DDLog addLogger:[DDASLLogger sharedInstance]];
For terminal:
[DDLog addLogger:[DDTTYLogger sharedInstance]];