From 76e72abe329e7b36b88a8f939593d84b2ba00152 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 17 Feb 2011 15:52:39 +0100 Subject: LOGGING: Pass the log level down to the log target output function This will be required for mapping osmocore log levels to syslog priorities. --- src/vty/logging_vty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vty') diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c index ea58887a..55882a77 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -35,7 +35,8 @@ extern const struct log_info *osmo_log_info; -static void _vty_output(struct log_target *tgt, const char *line) +static void _vty_output(struct log_target *tgt, + unsigned int level, const char *line) { struct vty *vty = tgt->tgt_vty.vty; vty_out(vty, "%s", line); -- cgit v1.2.3