diff options
author | James Booth <boothj5@gmail.com> | 2012-02-05 15:22:02 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-02-05 15:22:02 +0000 |
commit | 39627be1f5efd07febdc6ee545f2e8c5b2603f8d (patch) | |
tree | a84ab40e0b8fa87bb5dcc7633f9b9a843eecbf2c /log.c | |
parent | 5eaf687d98de9683ea4e479845868c56c14f015d (diff) | |
download | profani-tty-39627be1f5efd07febdc6ee545f2e8c5b2603f8d.tar.gz |
Tidied up logging functions
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 5 |
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); } |