summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-04-08 01:40:03 +0200
committerFedja Beader <fedja@protonmail.ch>2025-04-08 01:42:26 +0200
commita9669ebff8f317a29ad07bcd0701f8cf3e0587f8 (patch)
tree3f9b26b701d2240b7b6bc5c6ffc310b611ff2e67 /src/logger.h
parentae6a5dd611506122ccb2058235873391ca3d9978 (diff)
downloadmanaplus-logger.h_attribute_format.tar.gz
manaplus-logger.h_attribute_format.tar.bz2
manaplus-logger.h_attribute_format.tar.xz
manaplus-logger.h_attribute_format.zip
So it seems that CILK PLUS either ignores the this argument of memberlogger.h_attribute_format
functions or already considers it on its own. Besides.. is CILK PLUS even relevant today? Whatever.. Plus, deduplicate some more functions ..should this attribute be moved to its own file?
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logger.h b/src/logger.h
index 89f4c5286..da165189d 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -93,21 +93,21 @@ class Logger final
*/
void log(const char *const log_text, ...)
A_NONNULL(2)
- A_FORMAT_PRINTF(2, 3);
+ A_FORMAT_PRINTF(true, 1, 2);
/**
* Enters a message in the log. The message will be timestamped.
*/
void assertLog(const char *const log_text, ...)
A_NONNULL(2)
- A_FORMAT_PRINTF(2, 3);
+ A_FORMAT_PRINTF(true, 1, 2);
/**
* Enters a message in the log (thread safe).
*/
void log_r(const char *const log_text, ...)
A_NONNULL(2)
- A_FORMAT_PRINTF(2, 3);
+ A_FORMAT_PRINTF(true, 1, 2);
/**
* Enters a message in the log. The message will be timestamped.