mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 15:54:57 +08:00
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
This commit is contained in:
@@ -182,12 +182,7 @@ int ramlog_syslog_channel(void);
|
||||
* Name: ramlog_putc
|
||||
*
|
||||
* Description:
|
||||
* This is the low-level system logging interface. The debugging/syslogging
|
||||
* interfaces are syslog() and lowsyslog(). The difference is that
|
||||
* the syslog() internface writes to syslog device (usually fd=1, stdout)
|
||||
* whereas lowsyslog() uses a lower level interface that works from
|
||||
* interrupt handlers. This function is a a low-level interface used to
|
||||
* implement lowsyslog() when CONFIG_RAMLOG_SYSLOG=y.
|
||||
* This is the low-level system logging interface.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
@@ -215,11 +215,11 @@ int syslog_flush(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: _vsyslog and _lowvsyslog
|
||||
* Name: _vsyslog
|
||||
*
|
||||
* Description:
|
||||
* _vsyslog() handles the system logging system calls. It is functionally
|
||||
* equivalent to vsyslog() except that the pre-process priority filtering
|
||||
* 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
|
||||
@@ -229,7 +229,6 @@ int syslog_flush(void);
|
||||
****************************************************************************/
|
||||
|
||||
int _vsyslog(FAR const IPTR char *src, FAR va_list *ap);
|
||||
int _lowvsyslog(FAR const IPTR char *src, FAR va_list *ap);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user