diff options
author | David Robillard <d@drobilla.net> | 2022-08-10 17:48:21 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-17 13:51:15 -0400 |
commit | 5f579de5d335681a97b3727c503e33b34d3c5ee7 (patch) | |
tree | 37a2007d980d794028f6cf37934dffcf1d1606ea /src/jalv_console.c | |
parent | dd0b73bf4e03359728b671d6a5725be30e05a9e9 (diff) | |
download | jalv-5f579de5d335681a97b3727c503e33b34d3c5ee7.tar.gz jalv-5f579de5d335681a97b3727c503e33b34d3c5ee7.tar.bz2 jalv-5f579de5d335681a97b3727c503e33b34d3c5ee7.zip |
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.
Diffstat (limited to 'src/jalv_console.c')
-rw-r--r-- | src/jalv_console.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); } } |