We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65266bd commit f394973Copy full SHA for f394973
include/logging/log.h
@@ -70,6 +70,17 @@ extern "C" {
70
*/
71
#define LOG_DBG(...) Z_LOG(LOG_LEVEL_DBG, __VA_ARGS__)
72
73
+/**
74
+ * @brief Unconditionally print raw log message.
75
+ *
76
+ * The result is same as if printk was used but it goes through logging
77
+ * infrastructure thus utilizes logging mode, e.g. deferred mode.
78
79
+ * @param ... A string optionally containing printk valid conversion specifier,
80
+ * followed by as many values as specifiers.
81
+ */
82
+#define LOG_PRINTK(...) Z_LOG_PRINTK(__VA_ARGS__)
83
+
84
/**
85
* @brief Writes an ERROR level message associated with the instance to the log.
86
*
0 commit comments