/*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2014 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
stdf = stdout;
fprintf(stdf, "[%ld] %s %s\n", tv.tv_sec, lvl_str, buffer);
+ fflush(stdf);
}
void log_printf(int lvl, const char *fmt, ...)