All NSH-related files under nuttx/configs changed to use the corrected syslog interfaces

This commit is contained in:
Gregory Nutt
2014-10-08 14:28:55 -06:00
parent c0d179f4a8
commit f40857c04f
58 changed files with 447 additions and 1274 deletions
+9 -8
View File
@@ -89,19 +89,20 @@
* of decreasing importance:
*/
#define LOG_EMERG 7 /* System is unusable */
#define LOG_ALERT 6 /* Action must be taken immediately */
#define LOG_CRIT 5 /* Critical conditions */
#define LOG_ERR 4 /* Error conditions */
#define LOG_WARNING 3 /* Warning conditions */
#define LOG_NOTICE 2 /* Normal, but significant, condition */
#define LOG_INFO 1 /* Informational message */
#define LOG_DEBUG 0 /* Debug-level message */
#define LOG_EMERG 0 /* System is unusable */
#define LOG_ALERT 1 /* Action must be taken immediately */
#define LOG_CRIT 2 /* Critical conditions */
#define LOG_ERR 3 /* Error conditions */
#define LOG_WARNING 4 /* Warning conditions */
#define LOG_NOTICE 5 /* Normal, but significant, condition */
#define LOG_INFO 6 /* Informational message */
#define LOG_DEBUG 7 /* Debug-level message */
/* Used with setlogmask() */
#define LOG_MASK(p) (1 << (p))
#define LOG_UPTO(p) ((1 << (p)) - 1)
#define LOG_ALL 0xff
/****************************************************************************
* Public Type Declarations