summaryrefslogtreecommitdiff
path: root/nuttx/include/syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/syslog.h')
-rw-r--r--nuttx/include/syslog.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/nuttx/include/syslog.h b/nuttx/include/syslog.h
index 6aebb367e..c71d95176 100644
--- a/nuttx/include/syslog.h
+++ b/nuttx/include/syslog.h
@@ -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