summaryrefslogtreecommitdiffstats
path: root/wsutil/wslog.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /wsutil/wslog.h
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wsutil/wslog.h')
-rw-r--r--wsutil/wslog.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/wsutil/wslog.h b/wsutil/wslog.h
index 8044ad10..8f97a543 100644
--- a/wsutil/wslog.h
+++ b/wsutil/wslog.h
@@ -357,18 +357,19 @@ void ws_log_fatal_full(const char *domain, enum ws_log_level level,
/** Logs with "message" level.
*
- * Accepts a format string and *does not* include the file and function
- * name. This is the default log level.
+ * Accepts a format string and does not include the file and function
+ * name (use ws_log_full instead). This is the default log level.
*/
#define ws_message(...) \
_LOG_SIMPLE(true, LOG_LEVEL_MESSAGE, __VA_ARGS__)
/** Logs with "info" level.
*
- * Accepts a format string and includes the file and function name.
+ * Accepts a format string and does not include the file and function
+ * name (use ws_log_full instead).
*/
#define ws_info(...) \
- _LOG_FULL(true, LOG_LEVEL_INFO, __VA_ARGS__)
+ _LOG_SIMPLE(true, LOG_LEVEL_INFO, __VA_ARGS__)
/** Logs with "debug" level.
*
@@ -388,6 +389,8 @@ void ws_log_fatal_full(const char *domain, enum ws_log_level level,
#define WS_DEBUG_HERE(...) \
_LOG_FULL(true, LOG_LEVEL_ECHO, __VA_ARGS__)
+#define WS_NOT_IMPLEMENTED() \
+ ws_error("Not implemented yet")
WS_DLL_PUBLIC
void ws_log_utf8_full(const char *domain, enum ws_log_level level,