projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed logging
[psensor.git]
/
src
/
lib
/
log.c
diff --git
a/src/lib/log.c
b/src/lib/log.c
index
6018b54
..
2de7037
100644
(file)
--- a/
src/lib/log.c
+++ b/
src/lib/log.c
@@
-101,12
+101,3
@@
void log_printf(int lvl, const char *fmt, ...)
fprintf(stdf, "[%ld] %s %s\n", tv.tv_sec, lvl_str, buffer);
}
}
-
-void log_debug(const char *fmt, ...)
-{
- va_list ap;
-
- va_start(ap, fmt);
- log_printf(LOG_ERR, fmt, ap);
- va_end(ap);
-}