Moved incoming display message

This commit is contained in:
James Booth
2012-02-06 22:29:05 +00:00
parent 14f4478bea
commit bbb0fbed4f
6 changed files with 29 additions and 20 deletions

7
log.c
View File

@@ -23,6 +23,11 @@ void xmpp_file_logger(void * const userdata, const xmpp_log_level_t level,
void logmsg(const char * const area, const char * const msg)
{
fprintf(logp, "%s DEBUG %s\n", area, msg);
fprintf(logp, "%s DEBUG: %s\n", area, msg);
}
void start_log(void)
{
logp = fopen("profanity.log", "a");
logmsg(PROF, "Starting Profanity...");
}