summaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-17 15:52:39 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-17 15:52:39 +0100
commit76e72abe329e7b36b88a8f939593d84b2ba00152 (patch)
treefe8aba61dadbaf111a22cb5ba48451747c473326 /include/osmocore
parent76681bafa8013f3dac2a6b66841720e8fc78d76d (diff)
LOGGING: Pass the log level down to the log target output function
This will be required for mapping osmocore log levels to syslog priorities.
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/logging.h3
1 files changed, 2 insertions, 1 deletions
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 */