From 39627be1f5efd07febdc6ee545f2e8c5b2603f8d Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 5 Feb 2012 15:22:02 +0000 Subject: Tidied up logging functions --- log.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'log.c') diff --git a/log.c b/log.c index 4022a20f..4447ae3c 100644 --- a/log.c +++ b/log.c @@ -17,6 +17,11 @@ xmpp_log_t *xmpp_get_file_logger() void xmpp_file_logger(void * const userdata, const xmpp_log_level_t level, const char * const area, const char * const msg) +{ + logmsg(area, msg); +} + +void logmsg(const char * const area, const char * const msg) { fprintf(logp, "%s DEBUG %s\n", area, msg); } -- cgit 1.4.1-2-gfad0