Add an easier way to enable the serializaton tracing
This commit is contained in:
parent
8a013591bd
commit
8a25451fce
|
@ -1,5 +1,7 @@
|
|||
when defined(serialization_tracing):
|
||||
var tracingEnabled* = false
|
||||
const serialization_tracing {.strdefine.} = ""
|
||||
|
||||
when serialization_tracing != "":
|
||||
var tracingEnabled* = serialization_tracing in ["yes", "on", "1"]
|
||||
|
||||
## TODO
|
||||
## Implement a tracing context object that will be
|
||||
|
|
Loading…
Reference in New Issue