summaryrefslogtreecommitdiff
path: root/src/nm-logging.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-05 15:25:08 +0200
committerThomas Haller <thaller@redhat.com>2016-10-05 15:34:45 +0200
commit06b3b06a9535e7d9c22e419d40da565ba20a5426 (patch)
tree6151078dd435feb3e13a3e88a28857f8bf44dde8 /src/nm-logging.h
parentbedb19840f5df12905a7d5a905a87afa4c80494f (diff)
downloadNetworkManager-06b3b06a9535e7d9c22e419d40da565ba20a5426.tar.gz
logging: support system-wide prefix
Will be used by nm-iface-helper.
Diffstat (limited to 'src/nm-logging.h')
-rw-r--r--src/nm-logging.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-logging.h b/src/nm-logging.h
index 9f85c16990..d680bf1af1 100644
--- a/src/nm-logging.h
+++ b/src/nm-logging.h
@@ -188,6 +188,9 @@ gboolean nm_logging_setup (const char *level,
const char *domains,
char **bad_domains,
GError **error);
+
+void nm_logging_set_prefix (const char *format, ...) _nm_printf (1, 2);
+
void nm_logging_syslog_openlog (const char *logging_backend);
gboolean nm_logging_syslog_enabled (void);