log.c: New log_is_debug() function, hide access to debug variable

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-02 12:40:50 +02:00
1 parent e9d5512e1a
commit 51e1a907e6
6 files changed
+18 -11

No files matched your search

+2
View File
@@ -44,6 +44,8 @@ void log_init (int qit, int dbg);
void log_exit (void);
void log_debug (void);
int log_is_debug (void);
void logit (int prio, const char *fmt, ...);
#endif /* FINIT_LOG_H_ */