summary refs log tree commit diff
path: root/src/libnm-log-null/nm-logging-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-log-null/nm-logging-null.c')
-rw-r--r--src/libnm-log-null/nm-logging-null.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/libnm-log-null/nm-logging-null.c b/src/libnm-log-null/nm-logging-null.c
new file mode 100644
index 00000000..a454c5bc
--- /dev/null
+++ b/src/libnm-log-null/nm-logging-null.c
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2018 Red Hat, Inc.
+ */
+
+#include "libnm-glib-aux/nm-default-glib-i18n-lib.h"
+
+#include "libnm-glib-aux/nm-logging-fwd.h"
+
+/*****************************************************************************/
+
+gboolean
+_nm_log_enabled_impl(gboolean mt_require_locking, NMLogLevel level, NMLogDomain domain)
+{
+    return FALSE;
+}
+
+void
+_nm_log_impl(const char *file,
+             guint       line,
+             const char *func,
+             gboolean    mt_require_locking,
+             NMLogLevel  level,
+             NMLogDomain domain,
+             int         error,
+             const char *ifname,
+             const char *con_uuid,
+             const char *fmt,
+             ...)
+{}
+
+void
+_nm_utils_monotonic_timestamp_initialized(const struct timespec *tp,
+                                          gint64                 offset_sec,
+                                          gboolean               is_boottime)
+{}