gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-support/romusage/src/logging.h
1 // logging.h
2
3 #ifndef _LOGGING_H
4 #define _LOGGING_H
5
6 enum output_levels {
7 OUTPUT_LEVEL_DEBUG,
8 OUTPUT_LEVEL_VERBOSE,
9 OUTPUT_LEVEL_DEFAULT,
10 OUTPUT_LEVEL_ONLY_ERRORS,
11 OUTPUT_LEVEL_QUIET
12 };
13
14 #define log_progress log_verbose
15
16 void log_set_level(int new_output_level);
17 void log_debug(const char * format, ...);
18 void log_verbose(const char * format, ...);
19 void log_standard(const char * format, ...);
20 void log_warning(const char * format, ...);
21 void log_error(const char * format, ...);
22
23 #endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.