about summary refs log tree commit diff stats
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/log.c b/log.c
index 4022a20f..4447ae3c 100644
--- a/log.c
+++ b/log.c
@@ -18,6 +18,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);
 }