您的位置:首页 > 移动开发 > Android开发

试图显示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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: