mirror of
https://github.com/wiiu-env/wiiu-nanddumper-payload.git
synced 2024-11-16 16:39:18 +01:00
25 lines
344 B
C
25 lines
344 B
C
#ifndef __LOGGER_H_
|
|
#define __LOGGER_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//#define DEBUG_LOGGER 1
|
|
|
|
#ifdef DEBUG_LOGGER
|
|
int log_init(unsigned int ip);
|
|
void log_deinit();
|
|
void log_printf(const char *format, ...);
|
|
#else
|
|
#define log_init(x)
|
|
#define log_deinit()
|
|
#define log_printf(x, ...)
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|