summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/log.c b/log.c
index 99450dd12..d9c2d136c 100644
--- a/log.c
+++ b/log.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: log.c,v 1.50 2017/05/17 01:24:17 djm Exp $ */ 1/* $OpenBSD: log.c,v 1.51 2018/07/27 12:03:17 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -105,6 +105,12 @@ static struct {
105 { NULL, SYSLOG_LEVEL_NOT_SET } 105 { NULL, SYSLOG_LEVEL_NOT_SET }
106}; 106};
107 107
108LogLevel
109log_level_get(void)
110{
111 return log_level;
112}
113
108SyslogFacility 114SyslogFacility
109log_facility_number(char *name) 115log_facility_number(char *name)
110{ 116{