1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 05:58:30 +02:00
VVVVVV/desktop_version/src/Vlogging.h
Misa b652d327dc Add debug logs
These are disabled by default, because they're noisy. To enable them,
pass -debug.
2021-09-01 14:34:55 -07:00

36 lines
586 B
C

#ifndef VLOGGING_H
#define VLOGGING_H
#ifdef __cplusplus
extern "C"
{
#endif
void vlog_init(void);
void vlog_toggle_output(int enable_output);
void vlog_toggle_color(int enable_color);
void vlog_toggle_debug(int enable_debug);
void vlog_toggle_info(int enable_info);
void vlog_toggle_warn(int enable_warn);
void vlog_toggle_error(int enable_error);
int vlog_debug(const char* text, ...);
int vlog_info(const char* text, ...);
int vlog_warn(const char* text, ...);
int vlog_error(const char* text, ...);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* VLOGGING_H */