summaryrefslogtreecommitdiffstats
path: root/src/basic/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/log.h')
-rw-r--r--src/basic/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/log.h b/src/basic/log.h
index 0d927bfce9..6f0d838de3 100644
--- a/src/basic/log.h
+++ b/src/basic/log.h
@@ -298,7 +298,8 @@ int log_emergency_level(void);
bool log_on_console(void) _pure_;
-/* Helper to prepare various field for structured logging */
+/* Helper to wrap the main message in structured logging. The macro doesn't do much,
+ * except to provide visual grouping of the format string and its arguments. */
#define LOG_MESSAGE(fmt, ...) "MESSAGE=" fmt, ##__VA_ARGS__
void log_received_signal(int level, const struct signalfd_siginfo *si);