feat: turn on debug logging w/out -d:release

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2022-10-09 21:59:40 +02:00
parent 5d8cba0f2d
commit 7e46bc3ed7
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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