summaryrefslogtreecommitdiffstats
path: root/lib/log/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log/log.c')
-rw-r--r--lib/log/log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/log/log.c b/lib/log/log.c
index a4f5c22..44543d0 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -41,6 +41,11 @@ void __pb_log_init(FILE *fp, bool _debug)
debug = _debug;
}
+void pb_log_set_debug(bool _debug)
+{
+ debug = _debug;
+}
+
FILE *pb_log_get_stream(void)
{
static FILE *null_stream;
OpenPOWER on IntegriCloud