diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-17 22:52:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-17 22:52:55 +0200 |
commit | bbe63281ea16ed9899dd4818874098c05e36b154 (patch) | |
tree | e4a46da9f975726e41ffaf50a08fb1e2b16bb7db /src/log.h | |
parent | 3ba686c107b2b33e706f59432584875a4152d19a (diff) |
log: make color/location logging optional
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -23,6 +23,7 @@ ***/ #include <syslog.h> +#include <stdbool.h> #include "macro.h" @@ -44,6 +45,12 @@ void log_set_max_level(int level); int log_set_target_from_string(const char *e); int log_set_max_level_from_string(const char *e); +void log_show_color(bool b); +void log_show_location(bool b); + +int log_show_color_from_string(const char *e); +int log_show_location_from_string(const char *e); + LogTarget log_get_target(void); int log_get_max_level(void); |