Support flag parameter in logm
authorAhreum Jeong <ahreum.jeong@samsung.com>
Thu, 13 Jul 2017 04:47:56 +0000 (13:47 +0900)
committerAhreum Jeong <ahreum.jeong@samsung.com>
Thu, 20 Jul 2017 05:22:06 +0000 (14:22 +0900)
commit5cde82d8c0ededfc2873ed508758ee068e955ca8
tree578f2383281a2315f1212db2d5d9a26d2de0908d
parent2b57de99d02aa6701cdc6f97e02d03474040af81
Support flag parameter in logm

Gernerally, logm puts entered messages to buffer and flushes them in logm task
But sometimes it is needed to print messages directly.
So logm supports this functionallity using flags
If flag is LOGM_LOWPUT, logm prints messages to low output directly after flushing buffer
lib/libc/stdio/lib_printf.c
lib/libc/syslog/lib_lowsyslog.c
lib/libc/syslog/lib_syslog.c
os/include/tinyara/logm.h
os/logm/logm.c