summaryrefslogtreecommitdiffstats
path: root/src/shared/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/log.h')
-rw-r--r--src/shared/log.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index 74b3511..ac5bb92 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -31,6 +31,12 @@ typedef unsigned int logmask_t;
#define LOG_DEBUG1 ((logmask_t)16) // Debug information, use this for non-spammy stuff
#define LOG_DEBUG2 ((logmask_t)32) // Use this for debug messages that will show up a lot
+
+/**
+ * Check if cansoleMask | fileMask has all of mask set.
+ */
+bool log_hasMask(const logmask_t mask);
+
void log_setFileMask(logmask_t mask);
void log_setConsoleMask(logmask_t mask);