summaryrefslogtreecommitdiffstats
path: root/wsutil/wslog.h
diff options
context:
space:
mode:
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,