OSDN Git Service

Rewrite syslog(3) to use Android logging.
authorElliott Hughes <enh@google.com>
Mon, 21 Jul 2014 23:35:24 +0000 (16:35 -0700)
committerElliott Hughes <enh@google.com>
Mon, 21 Jul 2014 23:56:48 +0000 (16:56 -0700)
commit3ad8ecb64e9dd5614169232b84a93eb3b8aa32d7
treef756f624e7cc5bb019465444881deb6ffbc2dfe6
parent1fb90a8aa0086f7e4f7960a5b916b8605a9a3c96
Rewrite syslog(3) to use Android logging.

Since we don't have syslogd on Android and you can't run one on a non-rooted
device, it's more useful if syslog output just goes to the regular Android
logging system.

Bug: 14292866
Change-Id: Icee7f088b97f88ccbdaf471b98cbac7f19f9210a
HACKING.txt
libc/Android.mk
libc/bionic/libc_logging.cpp
libc/bionic/syslog.cpp [new file with mode: 0644]
libc/include/syslog.h
libc/unistd/syslog.c [deleted file]
tests/libc_logging_test.cpp