updated copyright to 2013
[psensor.git] / src / lib / log.c
index 7a9fc42..3072474 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 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
@@ -135,3 +135,12 @@ void log_warn(const char *fmt, ...)
        vlogf(LOG_WARN, fmt, ap);
        va_end(ap);
 }
+
+void log_info(const char *fmt, ...)
+{
+       va_list ap;
+
+       va_start(ap, fmt);
+       vlogf(LOG_INFO, fmt, ap);
+       va_end(ap);
+}