summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* liblog: specify clang formatMark Salyzyn2017-03-091-23/+20
| | | | | | | | | Switch coding style to match SideEffects: None Test: compile Bug: 27405083 Change-Id: Id426d5c5e3b18f2ceec22b31bbc9781aabf6bcca
* liblog: move android_log_event_context class to log/log_event_list.hMark Salyzyn2016-11-211-0/+1
| | | | | | | | | rename class from android_log_event_context to android_log_event_list Test: gTest logcat-unit-tests Bug: 31992412 Bug: 31456426 Change-Id: Ib61cbca7d453837d64959c56b0e11f8c5edbfbdd
* system/core: preparation to pull back interfaces from android/log.hMark Salyzyn2016-10-201-1/+2
| | | | | | | | | | | | | | | | Point to log/log.h where necessary, define LOG_TAG where necessary. Accept that private/android_logger.h is suitable replacement for log/logger.h and android/log.h. Correct liblog/README Effectively a cleanup and controlled select revert of 'system/core: drop or replace log/logger.h' and 'system/core: Replace log/log.h with android/log.h'. Test: compile Bug: 30465923 Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
* liblog: Replace log/log.h with android/log.hMark Salyzyn2016-09-301-1/+1
| | | | | | | | | | Move all liblog related content into android/log.h, and make log/log.h points to android/log.h. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: I858e0ebe047b86f2a8530a99bc9c380d3d58edbb
* liblog: split out transports into separate filesMark Salyzyn2016-03-221-1/+1
| | | | | | | | | | | | | | | (cherry pick from commit 018a96d03f0d452bf078084eedcd5693da42308d) Create config_logger, logger and logger_read to house the log interfaces. Add fake_logger, logd_logger and pmsg_logger to house the write and read transports. Allows for an easier and direct path to add new transports to the library. SideEffects: None, logger benchmark performance unaffected Bug: 27176738 Bug: 27405083 Change-Id: I01b38637334a5242905c8c89f6ab0a92e2540008
* liblog: audit declare LIBLOG_ABI_PUBLICMark Salyzyn2016-03-101-2/+7
| | | | | | | | | | | | | | | (cherry pick from commit be1d3c21b57d3e67c6a9682f3b2f0838486a3ee8) - replace <sys/cdefs.h> with local "log_cdefs.h" which fortifies and expands definitions, adding LIBLOG_ABI_PUBLIC, LIBLOG_HIDDEN, LIBLOG_ABI_PRIVATE and LIBLOG_WEAK. - clearly tag each interface as LIBLOG_ABI_PUBLIC, LIBLOG_HIDDEN, LIBLOG_ABI_PRIVATE, LIBLOG_WEAK or static depending on scope - Add -fvisibility=hidden to ensure nothing else leaks - some code standard adjustments Bug: 27566046 Change-Id: Ic14033c4e6d833d973beb035ddc1c6134fb35a3f
* liblog: __android_log_error_write use event list libraryMark Salyzyn2016-02-251-63/+22
| | | | | | | | | | | | (cherry pick from commit 81f407be3621988a791b175c88a4b7f2ca2dead5) Switch to the event list library to compose the associated event. SideEffects: Instead of composing event on a stack buffer of 512 bytes in size, a PAGE is allocated temporarily. Bug: 27356456 Change-Id: Ic15a87f49385834c2287ed82c26439b2c5eb4f77
* Add macro to call event logger for errors.William Luh2015-08-261-0/+88
Bug:23180694 Change-Id: I566a290334345f48013029534efef3e08e726e40