From 81270860a5b8c6794f0c7bac8becfdd0c41a9385 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Aug 2012 22:43:33 +0200 Subject: journal: suppress structured messages if they'd go to the console --- src/shared/log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/log.h') diff --git a/src/shared/log.h b/src/shared/log.h index 0c60b7671b..c242cc219f 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -131,5 +131,7 @@ _noreturn_ void log_assert_failed_unreachable( /* This modifies the buffer passed! */ #define log_dump(level, buffer) log_dump_internal(level, __FILE__, __LINE__, __func__, buffer) +bool log_on_console(void); + const char *log_target_to_string(LogTarget target); LogTarget log_target_from_string(const char *s); -- cgit v1.2.3-54-g00ecf