cleanup notification support
[psensor.git] / src / lib / log.h
index 5aaf22b..38efb3e 100644 (file)
@@ -27,12 +27,14 @@ enum log_level {
        LOG_DEBUG
 };
 
-void log_open(const char *path, int lvl);
+void log_open(const char *path);
 
 void log_printf(int lvl, const char *fmt, ...);
+void log_debug(const char *fmt, ...);
 
 void log_close();
 
+/* level of the log file. */
 extern int log_level;
 
 #endif