Good questions. I'll do my best to answer your questions.
If I understand correctly, you're wondering if open source frameworks can use Lumberjack to replace their primitive NSLog statements with something more flexible and useful?
The answer is YES. Here's an example:
The entire framework uses "XMPPLog<Level>(…)". It makes the framework very transparent to those using it, by allowing them to easily enable logging in various components, and really see exactly what the code is doing.
Also, it makes use of the "logging context". Every single log statement coming from XMPPFramework has a specific logging context. This is an integer that is set in all log messages, and allows developers to easily filter and/or redirect log statements coming from XMPPFramework vs log statements coming from their own application.
2) Can its log level be controlled via a configuration file?
I've experimented with this idea a bit, but never fully finished the implementation. Take a look at the "experimental" branch, then:
Xcode/LogLevelsConfigFile
Specifically the files DDLogLevelsConfig, DebugLogging.txt & ReleaseLogging.txt
This is a work in progress, so feel free to give me feedback.
Theoretically, you can set these values to zero to disable them. But I just checked, and this isn't currently supported. This is a bug.
Until fixed, you can just set them to really big values.
For example:
fileLogger.rollingFrequency = [[NSDate distantFuture] timeIntervalSinceNow];
5) What is the exact logistics to use it in a commercial project? Will
For Mac apps, yes the BSD license in some text file will do.
For iOS apps… well you're free to include a text file in your app bundle that has the BSD license. But we all know it won't be visible to anyone. So for shipped iOS apps in the app store, I've simply been stating that attribution isn't required. However, I'd appreciate it if you mention the project somewhere (could be on a credits screen, the app description in the store, or just on your website somewhere). Not required, but welcomed.
-Robbie Hanson