project_files/frontlib/util/logging.c
changeset 7224 5143861c83bd
parent 7182 076aba32abd3
child 7275 15f722e0b96f
--- a/project_files/frontlib/util/logging.c	Mon Jun 11 00:06:22 2012 +0200
+++ b/project_files/frontlib/util/logging.c	Tue Jun 12 11:25:05 2012 +0200
@@ -85,3 +85,7 @@
 void flib_log_setFile(FILE *file) {
 	flib_logfile = file;
 }
+
+bool flib_log_isActive(int level) {
+	return level >= flib_log_getLevel();
+}