summaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/log.c')
-rw-r--r--src/common/log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c
index f468487da3..569d6b2fa2 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -397,6 +397,11 @@ int parse_log_level(const char *level) {
return -1;
}
+const char *log_level_to_string(int level)
+{
+ return sev_to_string(level);
+}
+
int get_min_log_level(void)
{
logfile_t *lf;