summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Tsichritzis <john.tsichritzis@arm.com>2018-09-07 14:42:09 +0100
committerJohn Tsichritzis <john.tsichritzis@arm.com>2018-10-10 12:11:32 +0100
commit701b498cecf92a6747c6f7b6c1adf5356735ac40 (patch)
treea966e1655994ae8e03fbf7951f0c6ce2ff235de5
parent3d3619c6dfcfd79685b92eb1190fbb1968a7d217 (diff)
Reorder log level macro definitions for clarity
The definitions of the logging macros are reordered to be consistent with the definitions of the log levels. Change-Id: I6ff07b93eb64786ff147d39014d1c8e15db28444 Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
-rw-r--r--include/common/debug.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/common/debug.h b/include/common/debug.h
index 8ee55b88..a14a66e8 100644
--- a/include/common/debug.h
+++ b/include/common/debug.h
@@ -57,18 +57,18 @@
} \
} while (false)
-#if LOG_LEVEL >= LOG_LEVEL_NOTICE
-# define NOTICE(...) tf_log(LOG_MARKER_NOTICE __VA_ARGS__)
-#else
-# define NOTICE(...) no_tf_log(LOG_MARKER_NOTICE __VA_ARGS__)
-#endif
-
#if LOG_LEVEL >= LOG_LEVEL_ERROR
# define ERROR(...) tf_log(LOG_MARKER_ERROR __VA_ARGS__)
#else
# define ERROR(...) no_tf_log(LOG_MARKER_ERROR __VA_ARGS__)
#endif
+#if LOG_LEVEL >= LOG_LEVEL_NOTICE
+# define NOTICE(...) tf_log(LOG_MARKER_NOTICE __VA_ARGS__)
+#else
+# define NOTICE(...) no_tf_log(LOG_MARKER_NOTICE __VA_ARGS__)
+#endif
+
#if LOG_LEVEL >= LOG_LEVEL_WARNING
# define WARN(...) tf_log(LOG_MARKER_WARNING __VA_ARGS__)
#else