diff options
Diffstat (limited to 'src/shared/log.c')
-rw-r--r-- | src/shared/log.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/log.c b/src/shared/log.c index ee20921f78..3e48b3ccc2 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -927,10 +927,18 @@ void log_show_color(bool b) { show_color = b; } +bool log_get_show_color(void) { + return show_color; +} + void log_show_location(bool b) { show_location = b; } +bool log_get_show_location(void) { + return show_location; +} + int log_show_color_from_string(const char *e) { int t; |