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. --- include/osmocore/logging.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/osmocore') diff --git a/include/osmocore/logging.h b/include/osmocore/logging.h index 27e77341..5b780a34 100644 --- a/include/osmocore/logging.h +++ b/include/osmocore/logging.h @@ -95,7 +95,8 @@ struct log_target { } tgt_vty; }; - void (*output) (struct log_target *target, const char *string); + void (*output) (struct log_target *target, unsigned int level, + const char *string); }; /* use the above macros */ -- cgit v1.2.3