chiark / gitweb /
manager: optionally print status updates to console on boot
[elogind.git] / src / log.h
index 1d9a100eef578b8008e01f68d735c106af12c87c..ed9b8c84d0f8f3ab8d57506ff15f9053d2821103 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -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);