summaryrefslogtreecommitdiffstats
path: root/include/android/log.h
Commit message (Collapse)AuthorAgeFilesLines
* log: Fix warning with __USE_MINGW_ANSI_STDIODan Willemsen2014-06-121-0/+8
| | | | | | | | | | I haven't seen this warning in any AOSP code, but some of our code is using this header differently than the rest of the build system, and hits this warning-turned-error: error: "__USE_MINGW_ANSI_STDIO" is not defined [-Werror=undef] Change-Id: I3c5a91f107af8bf6078e06f2ce326c5466349b79
* Use format(gnu_printf, ...) for windows build with __USE_MINGW_ANSI_STDIOAndrew Hsieh2014-05-091-0/+8
| | | | | | | | | | | | With __USE_MINGW_ANSI_STDIO mingw compiler uses its own replacement printf*/scanf* libraries instead of Microsoft's ones which aren't always C99 compatible. Declare "archetype" of attribute format to gnu_printf because the default "printf" in mingw follows MS standard. One result is that "%z" (a gnu-extension) is accepted w/o warning by mingw compiler Change-Id: I3e92f34e2a1e8d664b4f1f55d450f7c2790671f3
* Improve liblog's fatal logging.Elliott Hughes2014-04-241-3/+3
| | | | | | | This makes LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF as good as regular assert(3). Change-Id: I0666684d30cae7baf23c64b33d35c1e43f81acf0
* Expose the stable/frozen log-related definitions of <cutils/logd.h> into a ↵David 'Digit' Turner2009-05-291-0/+128
new header: <android/log.h> This is in order to expose the correponding functions in the 1.5 Native Development Kit, to allow applicative native code to send messages to the log.