LOG_DEBUG
};
-void log_open(const char *path, int lvl);
+void log_open(const char *path);
-void log_puts(int lvl, const char *msg);
+void log_printf(int lvl, const char *fmt, ...);
void log_close();
+/* level of the log file. */
+extern int log_level;
+
#endif