PowerBlocks SDK
Loading...
Searching...
No Matches
wiimote_log.h
Go to the documentation of this file.
1
10
11
#pragma once
12
13
#include "
powerblocks/core/utils/log.h
"
14
15
extern
const
char
* WIIMOTE_TAG;
16
17
#define WIIMOTE_ERROR_LOGGING
18
#define WIIMOTE_INFO_LOGGING
19
//#define WIIMOTE_DEBUG_LOGGING
20
21
#ifdef WIIMOTE_ERROR_LOGGING
22
#define WIIMOTE_LOG_ERROR(fmt, ...) LOG_ERROR(WIIMOTE_TAG, fmt, ##__VA_ARGS__)
23
#else
24
#define WIIMOTE_LOG_ERROR(fmt, ...)
25
#endif
26
27
#ifdef WIIMOTE_INFO_LOGGING
28
#define WIIMOTE_LOG_INFO(fmt, ...) LOG_INFO(WIIMOTE_TAG, fmt, ##__VA_ARGS__)
29
#else
30
#define WIIMOTE_LOG_INFO(fmt, ...)
31
#endif
32
33
#ifdef WIIMOTE_DEBUG_LOGGING
34
#define WIIMOTE_LOG_DEBUG(fmt, ...) LOG_DEBUG(WIIMOTE_TAG, fmt, ##__VA_ARGS__)
35
#else
36
#define WIIMOTE_LOG_DEBUG(fmt, ...)
37
#endif
log.h
System logging functions.
powerblocks
input
wiimote
wiimote_log.h
Generated by
1.13.2