Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / platform / logging / LogV.h
1 /* See Project CHIP LICENSE file for licensing information. */
2
3 #pragma once
4
5 #include <stdarg.h>
6 #include <stdint.h>
7
8 namespace chip {
9 namespace Logging {
10 namespace Platform {
11
12 /**
13  * Log, to the platform-specified mechanism, the specified log
14  * message, @a msg, for the specified module, @a module, in the
15  * provided category, @a category.
16  *
17  * @param[in] module    The name of the log module.
18  * @param[in] category  A LogCategory enumeration indicating the
19  *                      category of the log message. The category
20  *                      may be filtered in or out if
21  *                      CHIP_LOG_FILTERING was asserted.
22  * @param[in] msg       A pointer to a NULL-terminated C string with
23  *                      C Standard Library-style format specifiers
24  *                      containing the log message to be formatted and
25  *                      logged.
26  * @param[in] v         A variadic argument list whose elements should
27  *                      correspond to the format specifiers in @a msg.
28  *
29  */
30 void LogV(const char * module, uint8_t category, const char * msg, va_list v);
31
32 } // namespace Platform
33 } // namespace Logging
34 } // namespace chip