Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly

This commit is contained in:
Gregory Nutt
2016-06-20 16:11:50 -06:00
parent d1a62f1d24
commit 505ca542e8
26 changed files with 177 additions and 72 deletions
+18
View File
@@ -371,6 +371,24 @@ void lib_nulloutstream(FAR struct lib_outstream_s *nulloutstream);
void syslogstream(FAR struct lib_outstream_s *stream);
/****************************************************************************
* Name: emergstream
*
* Description:
* Initializes a stream for use with the configured emergency syslog
* interface. Only accessible from with the OS SYSLOG logic.
*
* Input parameters:
* stream - User allocated, uninitialized instance of struct
* lib_lowoutstream_s to be initialized.
*
* Returned Value:
* None (User allocated instance initialized).
*
****************************************************************************/
void emergstream(FAR struct lib_outstream_s *stream);
/****************************************************************************
* Name: lib_noflush
*
+6 -7
View File
@@ -219,16 +219,15 @@ int syslog_flush(void);
*
* Description:
* _vsyslog() handles the system logging system calls. It is functionally
* equivalent to vsyslog() except that the per-process priority filtering
* has already been performed and, hence, there is no priority argument.
*
* NOTE: The va_list parameter is passed by reference. That is because
* the va_list is a structure in some compilers and passing of structures
* in the NuttX sycalls does not work.
* equivalent to vsyslog() except that (1) the per-process priority
* filtering has already been performed and the va_list parameter is
* passed by reference. That is because the va_list is a structure in
* some compilers and passing of structures in the NuttX sycalls does
* not work.
*
****************************************************************************/
int _vsyslog(FAR const IPTR char *src, FAR va_list *ap);
int _vsyslog(int priority, FAR const IPTR char *src, FAR va_list *ap);
#undef EXTERN
#ifdef __cplusplus