removed log_puts (replaced by log_printf)
[psensor.git] / src / lib / log.c
index 706948d..ea2e0ff 100644 (file)
@@ -35,16 +35,11 @@ void log_open(const char *path, int lvl)
        file = fopen(path, "a");
 
        if (file)
-               log_puts(LOG_INFO, "Start logging");
+               log_printf(LOG_INFO, "Start logging");
        else
                fprintf(stderr, _("Cannot open log file: %s\n"), path);
 }
 
-void log_puts(int lvl, const char *msg)
-{
-       log_printf(lvl, msg);
-}
-
 void log_close()
 {
        if (!file)