feat: turn on debug logging w/out -d:release
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
5d8cba0f2d
commit
7e46bc3ed7
|
@ -3,7 +3,7 @@ import jacket
|
||||||
|
|
||||||
var jclient: ClientTPtr
|
var jclient: ClientTPtr
|
||||||
var status: cint
|
var status: cint
|
||||||
var log = newConsoleLogger(lvlInfo)
|
var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug)
|
||||||
|
|
||||||
proc errorCb(msg: cstring) {.cdecl.} =
|
proc errorCb(msg: cstring) {.cdecl.} =
|
||||||
# Suppress verbose JACK error messges when server is not available by
|
# Suppress verbose JACK error messges when server is not available by
|
||||||
|
|
|
@ -4,7 +4,7 @@ import signal
|
||||||
|
|
||||||
var jclient: ClientTPtr
|
var jclient: ClientTPtr
|
||||||
var status: cint
|
var status: cint
|
||||||
var log = newConsoleLogger(lvlDebug)
|
var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug)
|
||||||
|
|
||||||
proc errorCb(msg: cstring) {.cdecl.} =
|
proc errorCb(msg: cstring) {.cdecl.} =
|
||||||
# Suppress verbose JACK error messages when server is not available by
|
# Suppress verbose JACK error messages when server is not available by
|
||||||
|
|
|
@ -4,7 +4,7 @@ import jacket
|
||||||
|
|
||||||
var jclient: ClientTPtr
|
var jclient: ClientTPtr
|
||||||
var status: cint
|
var status: cint
|
||||||
var log = newConsoleLogger(lvlDebug)
|
var log = newConsoleLogger(when defined(release): lvlInfo else: lvlDebug)
|
||||||
|
|
||||||
proc errorCb(msg: cstring) {.cdecl.} =
|
proc errorCb(msg: cstring) {.cdecl.} =
|
||||||
# Suppress verbose JACK error messages when server is not available by
|
# Suppress verbose JACK error messages when server is not available by
|
||||||
|
|
Loading…
Reference in New Issue