16 #ifndef __RARCH_VERBOSITY_H 17 #define __RARCH_VERBOSITY_H 44 #if defined(HAVE_LOGGER) 53 #define RARCH_LOG(...) do { \ 54 logger_send("RetroArch Salamander: " __VA_ARGS__); \ 57 #define RARCH_LOG_V(tag, fmt, vp) do { \ 58 logger_send("RetroArch Salamander: " tag); \ 59 logger_send_v(fmt, vp); \ 62 #define RARCH_LOG_OUTPUT(...) do { \ 63 logger_send("[OUTPUT] " __VA_ARGS__); \ 66 #define RARCH_LOG_OUTPUT_V(tag, fmt, vp) do { \ 67 logger_send("[OUTPUT] " tag); \ 68 logger_send_v(fmt, vp); \ 71 #define RARCH_ERR(...) do { \ 72 logger_send("[ERROR] " __VA_ARGS__); \ 75 #define RARCH_ERR_V(tag, fmt, vp) do { \ 76 logger_send("[ERROR] " tag); \ 77 logger_send_v(fmt, vp); \ 80 #define RARCH_WARN(...) do { \ 81 logger_send("[WARN] " __VA_ARGS__); \ 84 #define RARCH_WARN_V(tag, fmt, vp) do { \ 85 logger_send("[WARN] " tag); \ 86 logger_send_v(fmt, vp); \ 91 #define RARCH_LOG(...) do { \ 92 logger_send("" __VA_ARGS__); \ 95 #define RARCH_LOG_V(tag, fmt, vp) do { \ 96 logger_send("" tag); \ 97 logger_send_v(fmt, vp); \ 100 #define RARCH_ERR(...) do { \ 101 logger_send("[ERROR] " __VA_ARGS__); \ 104 #define RARCH_ERR_V(tag, fmt, vp) do { \ 105 logger_send("[ERROR] " tag); \ 106 logger_send_v(fmt, vp); \ 109 #define RARCH_WARN(...) do { \ 110 logger_send("[WARN] " __VA_ARGS__); \ 113 #define RARCH_WARN_V(tag, fmt, vp) do { \ 114 logger_send("[WARN] :: " tag); \ 115 logger_send_v(fmt, vp); \ 118 #define RARCH_LOG_OUTPUT(...) do { \ 119 logger_send("[OUTPUT] " __VA_ARGS__); \ 122 #define RARCH_LOG_OUTPUT_V(tag, fmt, vp) do { \ 123 logger_send("[OUTPUT] " tag); \ 124 logger_send_v(fmt, vp); \ 128 #define RARCH_LOG_BUFFER(...) do { } while(0) 138 #define RARCH_LOG_OUTPUT_V RARCH_LOG_V 139 #define RARCH_WARN_V RARCH_LOG_V 140 #define RARCH_ERR_V RARCH_LOG_V void retro_main_log_file_init(const char *path)
Definition: verbosity.c:109
void * retro_main_log_file(void)
Definition: verbosity.c:104
static const unsigned char tag[MAX_TESTS *3][16]
Definition: gcm.c:696
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
Configuration options (set of defines)
GLsizei const GLchar ** path
Definition: glext.h:7901
GLsizeiptr size
Definition: glext.h:6559
void RARCH_WARN(const char *fmt,...)
Definition: verbosity.c:301
void logger_init(void)
Definition: net_logger.c:43
void RARCH_LOG_BUFFER(uint8_t *buffer, size_t size)
Definition: verbosity.c:249
void RARCH_LOG(const char *fmt,...)
Definition: verbosity.c:281
void verbosity_disable(void)
Definition: verbosity.c:85
static const unsigned char msg[]
Definition: ccm.c:375
dictionary args
Definition: test_shaders.py:20
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void verbosity_enable(void)
Definition: verbosity.c:76
void logger_send_v(const char *__format, va_list args)
Definition: net_logger.c:85
void retro_main_log_file_deinit(void)
Definition: verbosity.c:133
void logger_shutdown(void)
Definition: net_logger.c:68
bool * verbosity_get_ptr(void)
Definition: verbosity.c:99
RETRO_BEGIN_DECLS bool verbosity_is_enabled(void)
Definition: verbosity.c:94
void RARCH_LOG_OUTPUT(const char *msg,...)
Definition: verbosity.c:293
void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)
Definition: verbosity.c:146
void logger_send(const char *__format,...)
Definition: net_logger.c:76
Definition: video4linux2.c:51
void RARCH_ERR(const char *fmt,...)
Definition: verbosity.c:313
unsigned char uint8_t
Definition: stdint.h:124