Home
last modified time | relevance | path

Searched refs:PW_LOG (Results 1 – 14 of 14) sorted by relevance

/external/pigweed/pw_log/
Dbasic_log_test_plain_c.c70 PW_LOG(PW_LOG_LEVEL_DEBUG, 0, "A manual DEBUG-level message"); in BasicLogTestPlainC()
71 PW_LOG(PW_LOG_LEVEL_DEBUG, 1, "A manual DEBUG-level message; with a flag"); in BasicLogTestPlainC()
73 PW_LOG(PW_LOG_LEVEL_INFO, 0, "A manual INFO-level message"); in BasicLogTestPlainC()
74 PW_LOG(PW_LOG_LEVEL_INFO, 1, "A manual INFO-level message; with a flag"); in BasicLogTestPlainC()
76 PW_LOG(PW_LOG_LEVEL_WARN, 0, "A manual WARN-level message"); in BasicLogTestPlainC()
77 PW_LOG(PW_LOG_LEVEL_WARN, 1, "A manual WARN-level message; with a flag"); in BasicLogTestPlainC()
79 PW_LOG(PW_LOG_LEVEL_ERROR, 0, "A manual ERROR-level message"); in BasicLogTestPlainC()
80 PW_LOG(PW_LOG_LEVEL_ERROR, 1, "A manual ERROR-level message; with a flag"); in BasicLogTestPlainC()
82 PW_LOG(PW_LOG_LEVEL_CRITICAL, 0, "A manual CRITICAL-level message"); in BasicLogTestPlainC()
83 PW_LOG( in BasicLogTestPlainC()
[all …]
Dbasic_log_test.cc75 PW_LOG(PW_LOG_LEVEL_DEBUG, 0, "A manual DEBUG-level message"); in TEST()
76 PW_LOG(PW_LOG_LEVEL_DEBUG, 1, "A manual DEBUG-level message; with a flag"); in TEST()
78 PW_LOG(PW_LOG_LEVEL_INFO, 0, "A manual INFO-level message"); in TEST()
79 PW_LOG(PW_LOG_LEVEL_INFO, 1, "A manual INFO-level message; with a flag"); in TEST()
81 PW_LOG(PW_LOG_LEVEL_WARN, 0, "A manual WARN-level message"); in TEST()
82 PW_LOG(PW_LOG_LEVEL_WARN, 1, "A manual WARN-level message; with a flag"); in TEST()
84 PW_LOG(PW_LOG_LEVEL_ERROR, 0, "A manual ERROR-level message"); in TEST()
85 PW_LOG(PW_LOG_LEVEL_ERROR, 1, "A manual ERROR-level message; with a flag"); in TEST()
87 PW_LOG(PW_LOG_LEVEL_CRITICAL, 0, "A manual CRITICAL-level message"); in TEST()
88 PW_LOG( in TEST()
[all …]
Ddocs.rst95 .. cpp:function:: PW_LOG(level, flags, fmt, ...)
121 PW_LOG(PW_LOG_DEFAULT_FLAGS, PW_LOG_LEVEL_INFO, "Temp is %d degrees", temp);
122 PW_LOG(UNRELIABLE_DELIVERY, PW_LOG_LEVEL_ERROR, "It didn't work!");
126 ``PW_LOG()`` should not be used frequently; typically only when adding
139 Shorthand for `PW_LOG(PW_LOG_DEFAULT_FLAGS, <level>, fmt, ...)`.
179 applied when using the ``PW_LOG`` macro directly.
236 PW_LOG(PW_LOG_LEVEL_INFO,
/external/pigweed/pw_log/public/pw_log/
Dlog.h75 #ifndef PW_LOG
76 #define PW_LOG(level, flags, message, ...) \ macro
89 PW_LOG(PW_LOG_LEVEL_DEBUG, PW_LOG_DEFAULT_FLAGS, message, __VA_ARGS__)
94 PW_LOG(PW_LOG_LEVEL_INFO, PW_LOG_DEFAULT_FLAGS, message, __VA_ARGS__)
99 PW_LOG(PW_LOG_LEVEL_WARN, PW_LOG_DEFAULT_FLAGS, message, __VA_ARGS__)
104 PW_LOG(PW_LOG_LEVEL_ERROR, PW_LOG_DEFAULT_FLAGS, message, __VA_ARGS__)
109 PW_LOG(PW_LOG_LEVEL_CRITICAL, PW_LOG_DEFAULT_FLAGS, message, __VA_ARGS__)
Dshorter.h23 #define LOG PW_LOG
27 #define LOG PW_LOG
Dshort.h23 #define LOG PW_LOG
/external/pigweed/pw_log_null/
Dtest_c.c27 PW_LOG(1, 2, "3"); in CTest()
28 PW_LOG(1, 2, "whoa"); in CTest()
29 PW_LOG(1, 2, "%s", "hello"); in CTest()
30 PW_LOG(1, 2, "%d + %s == %p", 1, "two", NULL); in CTest()
35 PW_LOG(1, in CTest()
Dtest.cc25 PW_LOG(1, 2, "3"); in TEST()
26 PW_LOG(1, 2, "whoa"); in TEST()
30 PW_LOG(1, 2, "%s", "hello"); in TEST()
31 PW_LOG(1, 2, "%d + %s == %p", 1, "two", nullptr); in TEST()
40 PW_LOG(1, 2, "You are number%s %d!", (local = false) ? "" : " not", []() { in TEST()
Ddocs.rst7 The backend implements ``PW_LOG`` with an empty inline function. Using an empty
/external/pigweed/pw_assert_log/public/pw_assert_log/
Dassert_log.h30 PW_LOG(PW_LOG_LEVEL_CRITICAL, \
43 PW_LOG(PW_LOG_LEVEL_CRITICAL, \
67 PW_LOG(PW_LOG_LEVEL_CRITICAL, \
/external/pigweed/pw_unit_test/
Dlogging_event_handler.cc66 PW_LOG(level, in TestCaseExpect()
72 PW_LOG(level, in TestCaseExpect()
76 PW_LOG(level, in TestCaseExpect()
/external/pigweed/pw_assert_log/
Dassert_log.cc21 PW_LOG(PW_LOG_LEVEL_CRITICAL, in pw_assert_HandleFailure()
25 PW_LOG(PW_LOG_LEVEL_CRITICAL, in pw_assert_HandleFailure()
/external/pigweed/pw_log_null/public/pw_log_null/
Dlog_null.h52 #define PW_LOG(level, flags, message, ...) \ macro
/external/pigweed/pw_persistent_ram/
Ddocs.rst253 // Handle crash, calling PW_LOG to log useful info.