summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-09-23 15:13:45 +0800
committerGrissiom <[email protected]>2013-09-23 15:13:45 +0800
commit2a203377073573ac1a3191fc6cc8f71e308ab123 (patch)
tree5ca68dae59ffd0d798fb72e8fa61dc5fd1cb1bfd /components
parent519982fa7411a71d1494855e945196c33c793aee (diff)
logtrace: adjust the log values
logtrace only use odd number of log levels. So the use could set some custom level amount them.
Diffstat (limited to 'components')
-rw-r--r--components/utilities/logtrace/log_trace.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/utilities/logtrace/log_trace.h b/components/utilities/logtrace/log_trace.h
index 68442dd2f8..77e1f08b6c 100644
--- a/components/utilities/logtrace/log_trace.h
+++ b/components/utilities/logtrace/log_trace.h
@@ -31,10 +31,10 @@
#define LOG_TRACE_LEVEL_MASK 0x0f
#define LOG_TRACE_LEVEL_NOTRACE 0x00
#define LOG_TRACE_LEVEL_ERROR 0x01
-#define LOG_TRACE_LEVEL_WARNING 0x02
-#define LOG_TRACE_LEVEL_INFO 0x03
-#define LOG_TRACE_LEVEL_VERBOSE 0x04
-#define LOG_TRACE_LEVEL_DEBUG 0x05
+#define LOG_TRACE_LEVEL_WARNING 0x03
+#define LOG_TRACE_LEVEL_INFO 0x05
+#define LOG_TRACE_LEVEL_VERBOSE 0x07
+#define LOG_TRACE_LEVEL_DEBUG 0x09
#define LOG_TRACE_LEVEL_ALL 0x0f
#ifndef LOG_TRACE_LEVEL_DEFAULT
@@ -42,10 +42,10 @@
#endif
#define LOG_TRACE_ERROR "<1>"
-#define LOG_TRACE_WARNING "<2>"
-#define LOG_TRACE_INFO "<3>"
-#define LOG_TRACE_VERBOSE "<4>"
-#define LOG_TRACE_DEBUG "<5>"
+#define LOG_TRACE_WARNING "<3>"
+#define LOG_TRACE_INFO "<5>"
+#define LOG_TRACE_VERBOSE "<7>"
+#define LOG_TRACE_DEBUG "<9>"
#define LOG_TRACE_OPT_NOTS 0x10 /* no timestamp */
#define LOG_TRACE_OPT_LN 0x20 /* terminate the current line */