summaryrefslogtreecommitdiff
path: root/src/mm-context.h
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@secunet.com>2017-06-21 12:59:35 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-06-21 13:08:17 +0200
commitfd0bed1df9e306d8f0d2498afb8df316ca8b3f9e (patch)
tree228c09dfbaf4ab6a223215b2435001f5d95ec343 /src/mm-context.h
parent13592c5d2d6fdf74a5525f1f15d4e7477c73c986 (diff)
downloadModemManager-fd0bed1df9e306d8f0d2498afb8df316ca8b3f9e.tar.gz
log: Add support for journal logging
This logging is available if the software was build with the configure option --with-systemd-journal. It will be enabled by default if libsystemd is found. The runtime parameter --log-journal enables to output of log messages to the systemd journal. Please note that the journal priority field has the same value as the syslog level so no conversion is required here.
Diffstat (limited to 'src/mm-context.h')
-rw-r--r--src/mm-context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-context.h b/src/mm-context.h
index e355692f6..143ee15b7 100644
--- a/src/mm-context.h
+++ b/src/mm-context.h
@@ -33,6 +33,7 @@ gboolean mm_context_get_no_auto_scan (void);
/* Logging support */
const gchar *mm_context_get_log_level (void);
const gchar *mm_context_get_log_file (void);
+gboolean mm_context_get_log_journal (void);
gboolean mm_context_get_log_timestamps (void);
gboolean mm_context_get_log_relative_timestamps (void);