Clean up internal libc logging.

We only need one logging API, and I prefer the one that does no
allocation and is thus safe to use in any context.

Also use O_CLOEXEC when opening the /dev/log files.

Move everything logging-related into one header file.

Change-Id: Ic1e3ea8e9b910dc29df351bff6c0aa4db26fbb58
This commit is contained in:
Elliott Hughes
2013-03-15 15:30:25 -07:00
parent e23ed8c644
commit 8f2a5a0b40
48 changed files with 186 additions and 456 deletions

View File

@@ -58,7 +58,7 @@
/*********************************************************************/
#include <private/debug_format.h>
#include "private/libc_logging.h"
__LIBC_HIDDEN__ extern int gLdDebugVerbosity;