]> git.ozlabs.org Git - petitboot/blobdiff - lib/log/log.c
lib/process: Add process_get_stdout
[petitboot] / lib / log / log.c
index 0b145e0d3d6013f608935b3b696c3863e887c2a1..5466d817575277ab32f7a827f822cb36ccc08965 100644 (file)
@@ -88,6 +88,11 @@ void pb_log_set_debug(bool _debug)
        debug = _debug;
 }
 
+bool pb_log_get_debug(void)
+{
+       return debug;
+}
+
 FILE *pb_log_get_stream(void)
 {
        static FILE *null_stream;