mirror of https://github.com/E-Almqvist/ewm
parent
cd7f39e221
commit
c1aef916a0
@ -1,3 +1,16 @@ |
|||||||
/* See LICENSE file for copyright and license details. */ |
/* See LICENSE file for copyright and license details. */ |
||||||
|
|
||||||
|
#include <stdio.h> |
||||||
|
#include <stdarg.h> |
||||||
|
|
||||||
|
#include "config.h" |
||||||
#include "log.h" |
#include "log.h" |
||||||
|
|
||||||
|
void flog(char* fstr, ...) { |
||||||
|
FILE* fp; |
||||||
|
fp = fopen(logfile, "a"); |
||||||
|
|
||||||
|
fprintf(fp, fstr, ...); |
||||||
|
|
||||||
|
fclose(fp); |
||||||
|
} |
||||||
|
Loading…
Reference in new issue