Allow checking if the serialization tracing is enabled
This commit is contained in:
parent
16e6bcd16d
commit
501f94ad61
|
@ -1,6 +1,7 @@
|
||||||
const serialization_tracing {.strdefine.} = ""
|
const serialization_tracing {.strdefine.} = ""
|
||||||
|
const hasSerializationTracing* = serialization_tracing != ""
|
||||||
|
|
||||||
when serialization_tracing != "":
|
when hasSerializationTracing:
|
||||||
var tracingEnabled* = serialization_tracing in ["yes", "on", "1"]
|
var tracingEnabled* = serialization_tracing in ["yes", "on", "1"]
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
Loading…
Reference in New Issue