mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
All NSH-related files under nuttx/configs changed to use the corrected syslog interfaces
This commit is contained in:
+9
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user