Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Shut up all logs with active filter. http://deepitpro.com/en/articles/Acti…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
ActiveLog project consists of two targets: 1. DIALog - an active logging framework 2. ActiveLog app to filter logs DIALog framework contains important headers and code files, both for apply at application level, and Distributed Notifications observer, to control from ActiveLog GUI. Goal: shut up all logs with active filter. You can control logs with GUI or via LogModules environment variable. Every file .m interprets as module with the same name as file original name without extension. You can control output by module names, or by defined zone names (unlimited count). '*' means all modules. Add compiler flag '-DDEBUG' in Debug configuration to activate debug logging, such as: NSLogDebug, NSLogDebugMethod, NSLogZoneDebug, NSPF() etc. You can force DIALog features in release production with '-DFORCE_LOGS'. You can totally disable observer with code: #if ! defined DEBUG && ! defined FORCE_LOGS [DINSLogObserver setEnabled:NO]; #endif DIALog/ActiveLog also supported ColorLog facilities. See more in header examples.