From 5f579de5d335681a97b3727c503e33b34d3c5ee7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 10 Aug 2022 17:48:21 -0400 Subject: Use logging API for almost all console output Towards being smarter about this and maintaining distinction between kinds of output, so the console interface can grow into a more solid language/protocol. --- src/jalv_console.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/jalv_console.c') diff --git a/src/jalv_console.c b/src/jalv_console.c index 9ce009b..4d5f528 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -170,7 +170,10 @@ jalv_print_controls(Jalv* jalv, bool writable, bool readable) if ((control->is_writable && writable) || (control->is_readable && readable)) { struct Port* const port = &jalv->ports[control->index]; - printf("%s = %f\n", lilv_node_as_string(control->symbol), port->control); + jalv_log(JALV_LOG_INFO, + "%s = %f\n", + lilv_node_as_string(control->symbol), + port->control); } } -- cgit v1.2.1