Fix building in debug mode

This commit is contained in:
Zahary Karadjov 2018-05-06 21:16:22 +03:00
parent ac18a07a90
commit dc0b06ac54
2 changed files with 8 additions and 8 deletions

View File

@ -16,17 +16,17 @@ type
AnyOutput = FileOutput|StdOutOutput|StdErrOutput|
SysLogOutput|BufferedOutput
TextLineRecord[Output;
TextLineRecord*[Output;
timestamps: static[TimestampsScheme],
colors: static[ColorScheme]] = object
output: Output
TextBlockRecord[Output;
TextBlockRecord*[Output;
timestamps: static[TimestampsScheme],
colors: static[ColorScheme]] = object
output: Output
JsonRecord[Output; timestamps: static[TimestampsScheme]] = object
JsonRecord*[Output; timestamps: static[TimestampsScheme]] = object
output: Output
# XXX: `bindSym` is currently broken and doesn't return proper type symbols

View File

@ -16,7 +16,7 @@ const
chronicles_required_topics {.strdefine.} = ""
chronicles_disabled_topics {.strdefine.} = ""
chronicles_runtime_filtering {.strdefine.} = "off"
chronicles_log_level {.strdefine.} = when defined(debug): "ALL"
chronicles_log_level {.strdefine.} = when defined(debug): "DEBUG"
else: "INFO"
chronicles_timestamps {.strdefine.} = "RfcTime"