试图显示Android内核所有LOG
2014-02-11 10:00
465 查看
修改system/core/include/cutils/log.h试图显示Android内核所有LOG,不知是否成功。
/*
* Normally we strip LOGV (VERBOSE messages) from release builds.
* You can modify this (for example with "#define LOG_NDEBUG 0"
* at the top of your source file) to change that behavior.
*/
/*
#ifndef LOG_NDEBUG
#ifdef NDEBUG
#define LOG_NDEBUG 1
#else
#define LOG_NDEBUG 0
#endif
#endif
*/
// By Tom for show debug info
#undef LOG_NDEBUG
#define LOG_NDEBUG 1
/*
* This is the local tag used for the following simplified
* logging macros. You can change this preprocessor definition
* before using the other macros to change the tag.
*/
#ifndef LOG_TAG
#define LOG_TAG NULL
#endif
/*
* Normally we strip LOGV (VERBOSE messages) from release builds.
* You can modify this (for example with "#define LOG_NDEBUG 0"
* at the top of your source file) to change that behavior.
*/
/*
#ifndef LOG_NDEBUG
#ifdef NDEBUG
#define LOG_NDEBUG 1
#else
#define LOG_NDEBUG 0
#endif
#endif
*/
// By Tom for show debug info
#undef LOG_NDEBUG
#define LOG_NDEBUG 1
/*
* This is the local tag used for the following simplified
* logging macros. You can change this preprocessor definition
* before using the other macros to change the tag.
*/
#ifndef LOG_TAG
#define LOG_TAG NULL
#endif
相关文章推荐
- Android杂谈--打开文件的Intent及使用
- Android Says Bonjour
- Android动画的两种使用方式。
- android list
- Android中调用webservice小结
- android调用web service(cxf)实例
- android NDK开发环境搭建
- 【转】Android中对Log日志文件的分析
- Android 常用权限一览表
- android的m、mm、mmm编译命令的使用
- [转]Android的绘图密码有多少种可能性
- 88 Android view类的setVisibility();值的意思
- 87 Android 设置listView 的高度
- mac环境下android环境变量搭建
- Android平台上从Camera的jpegquality菜单研究JNI接口
- windows系统上安装与使用Android NDK r5
- IM里的语音录制与播放
- android 制作9.png图片
- android draw9 patch介绍
- Android WebKit消息处理