1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00
VVVVVV/desktop_version/src/Vlogging.h
Misa 2eb9e23ecc Allow disabling output/fine-tuning output
-nooutput disables output completely (both STDOUT and STDERR). -noinfo
disables INFO lines.  -nowarn disables WARN lines. -noerror disables
ERROR lines.
2021-09-01 14:34:55 -07:00

32 lines
503 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_info(int enable_info);
void vlog_toggle_warn(int enable_warn);
void vlog_toggle_error(int enable_error);
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 */