https://github.com/tim9liu9/debuglogdemo
NSLog相关调试信息,如果是非debug状态就不log。
https://github.com/tim9liu9/debuglogdemo
Last synced: about 1 year ago
JSON representation
NSLog相关调试信息,如果是非debug状态就不log。
- Host: GitHub
- URL: https://github.com/tim9liu9/debuglogdemo
- Owner: Tim9Liu9
- Created: 2014-12-29T08:01:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-29T08:28:12.000Z (over 11 years ago)
- Last Synced: 2025-01-06T11:37:44.698Z (over 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 184 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DebugLogDemo
============
NSLog相关debug信息,如果在DEBUG状态下就log,非就不执行。拦截UIVIewConroller的viewDidLoad方法,log出是哪个UIViewConroller的viewDidLoad方法,方便调试。
* 可以显示是哪个类,哪个方法,第几行log的。
* UIViewController+Debug.m 里面,可以自己设置要拦截哪个方法,本人目前拦截的是:UIViewConroller的viewDidLoad方法。
---
## License
DebugLog is available under the MIT license. See the LICENSE file for more info.