diff --git a/examples/test_jacket.nim b/examples/test_jacket.nim index 64871a7..e14e695 100644 --- a/examples/test_jacket.nim +++ b/examples/test_jacket.nim @@ -3,7 +3,7 @@ import jacket var jclient: ClientTPtr var status: cint -var log = newConsoleLogger(lvlInfo) +var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug) proc errorCb(msg: cstring) {.cdecl.} = # Suppress verbose JACK error messges when server is not available by diff --git a/examples/test_port_connect_cb.nim b/examples/test_port_connect_cb.nim index 2b96194..9ef455d 100644 --- a/examples/test_port_connect_cb.nim +++ b/examples/test_port_connect_cb.nim @@ -4,7 +4,7 @@ import signal var jclient: ClientTPtr var status: cint -var log = newConsoleLogger(lvlDebug) +var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug) proc errorCb(msg: cstring) {.cdecl.} = # Suppress verbose JACK error messages when server is not available by diff --git a/examples/test_port_register.nim b/examples/test_port_register.nim index f9f313d..874b761 100644 --- a/examples/test_port_register.nim +++ b/examples/test_port_register.nim @@ -4,7 +4,7 @@ import jacket var jclient: ClientTPtr var status: cint -var log = newConsoleLogger(lvlDebug) +var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug) proc errorCb(msg: cstring) {.cdecl.} = # Suppress verbose JACK error messages when server is not available by