aboutsummaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-02-11 11:08:18 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-02-11 11:08:18 +0000
commit5437321f97e21a3fc6fca79fbdf05ca8d6199b35 (patch)
treec4be83c79d81e37086ed6ab40bed7fd0d72fb44f /log.h
parentchangelog: -d,--log-level (diff)
main: client: factor out some common code for "--log-level" option
Diffstat (limited to 'log.h')
-rw-r--r--log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/log.h b/log.h
index 5baddfcd..f0c28d7b 100644
--- a/log.h
+++ b/log.h
@@ -23,6 +23,9 @@ void log_errno_provided(
const char *file, int lineno, int _errno,
const char *fmt, ...) PRINTF(6);
+int log_level_from_string(const char *str);
+const char *log_level_string_hint(void);
+
#define LOG_ERR(...) \
log_msg(LOG_CLASS_ERROR, LOG_MODULE, __FILE__, __LINE__, __VA_ARGS__)
#define LOG_ERRNO(...) \