From bbe63281ea16ed9899dd4818874098c05e36b154 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Jun 2010 22:52:55 +0200 Subject: log: make color/location logging optional --- src/log.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index 1d9a100eef..ed9b8c84d0 100644 --- a/src/log.h +++ b/src/log.h @@ -23,6 +23,7 @@ ***/ #include +#include #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); -- cgit v1.2.3-54-g00ecf