summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-12-08 11:21:48 +0100
committerThomas Haller <thaller@redhat.com>2014-12-09 16:17:46 +0100
commite439478ccd3af802eaed27973dc26ed5897dcc67 (patch)
tree12e413cb29d62ab2473122dbfeb9ff8eb844185d
parent37361a038f0dbc503943552d9bf4297451bea417 (diff)
downloadNetworkManager-e439478ccd3af802eaed27973dc26ed5897dcc67.tar.gz
device: add logging macro _LOGT()
-rw-r--r--src/devices/nm-device-logging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device-logging.h b/src/devices/nm-device-logging.h
index c6f4f99f1e..acca32e556 100644
--- a/src/devices/nm-device-logging.h
+++ b/src/devices/nm-device-logging.h
@@ -37,6 +37,7 @@ _nm_device_log_self_to_device (t *self) \
(self) ? str_if_set (nm_device_get_iface (_nm_device_log_self_to_device (self)), "(null)") : "(none)" \
_NM_UTILS_MACRO_REST(__VA_ARGS__))
+#define _LOGT(domain, ...) _LOG (LOGL_TRACE, domain, __VA_ARGS__)
#define _LOGD(domain, ...) _LOG (LOGL_DEBUG, domain, __VA_ARGS__)
#define _LOGI(domain, ...) _LOG (LOGL_INFO, domain, __VA_ARGS__)
#define _LOGW(domain, ...) _LOG (LOGL_WARN, domain, __VA_ARGS__)