summaryrefslogtreecommitdiff
path: root/shared/nm-glib-aux/nm-logging-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/nm-glib-aux/nm-logging-base.h')
-rw-r--r--shared/nm-glib-aux/nm-logging-base.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/shared/nm-glib-aux/nm-logging-base.h b/shared/nm-glib-aux/nm-logging-base.h
index 3d964a6ec7..e838d08f95 100644
--- a/shared/nm-glib-aux/nm-logging-base.h
+++ b/shared/nm-glib-aux/nm-logging-base.h
@@ -6,24 +6,23 @@
#include "nm-logging-fwd.h"
typedef struct {
- const char *name;
- const char *level_str;
+ const char *name;
+ const char *level_str;
- /* nm-logging uses syslog internally. Note that the three most-verbose syslog levels
+ /* nm-logging uses syslog internally. Note that the three most-verbose syslog levels
* are LOG_DEBUG, LOG_INFO and LOG_NOTICE. Journal already highlights LOG_NOTICE
* as special.
*
* On the other hand, we have three levels LOGL_TRACE, LOGL_DEBUG and LOGL_INFO,
* which are regular messages not to be highlighted. For that reason, we must map
* LOGL_TRACE and LOGL_DEBUG both to syslog level LOG_DEBUG. */
- int syslog_level;
+ int syslog_level;
- GLogLevelFlags g_log_level;
+ GLogLevelFlags g_log_level;
} LogLevelDesc;
extern const LogLevelDesc level_desc[_LOGL_N];
-gboolean _nm_log_parse_level (const char *level,
- NMLogLevel *out_level);
+gboolean _nm_log_parse_level(const char *level, NMLogLevel *out_level);
#endif /* __NM_LOGGING_BASE_H__ */