aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 6a45fc3d0b..22b9e2474e 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -94,6 +94,10 @@
/** Number of logging domains in the code. */
#define N_LOGGING_DOMAINS 19
+/** This log message is not safe to send to a callback-based logger.
+ * Used as a flag, not a log domain. */
+#define LD_NOCB (1u<<31)
+
typedef uint32_t log_domain_mask_t;
/** Configures which severities are logged for each logging domain for a given