From 26842ff3833c853e3e3cef065a494c05736a53e5 Mon Sep 17 00:00:00 2001 From: David Eklov Date: Mon, 27 Jun 2016 02:29:37 -0500 Subject: Add get_log_level() to encapsulate v (current log level) This patch also makes all global variable in log.c static. --- include/log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/log.h') diff --git a/include/log.h b/include/log.h index efacf90f..ca8c1fe3 100644 --- a/include/log.h +++ b/include/log.h @@ -11,6 +11,7 @@ typedef enum { void init_log(log_importance_t verbosity); void set_log_level(log_importance_t verbosity); +log_importance_t get_log_level(void); void reset_log_level(void); // returns whether debug logging is on after switching. bool toggle_debug_logging(void); -- cgit v1.2.3-54-g00ecf