projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log_printf can be called concurently (removed static buffer)
[psensor.git]
/
src
/
lib
/
log.h
diff --git
a/src/lib/log.h
b/src/lib/log.h
index
5aaf22b
..
cf4fcd3
100644
(file)
--- a/
src/lib/log.h
+++ b/
src/lib/log.h
@@
-27,12
+27,13
@@
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_close();
+/* level of the log file. */
extern int log_level;
#endif