-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hi,
im am trying to compile this code that i just directly copied form the documentaiton provided in the github page
of this repository
defaultChroniclesStream.output.writer = proc (logLevel: LogLevel, msg: LogOutputStr) {.gcsafe.} = database.writeLogEntry(msg)
link:
https://github.com/status-im/nim-chronicles#working-with-dynamic-outputs
and getting the following error during compilation:
chronicles-0.10.3\chronicles\log_output.nim(755, 74) Error: invalid index value for tuple subscript
and also i get the same error when trying to use log file
code:
var config = loadConfiguration() let success = defaultChroniclesStream.output.open(config.logFile, fmAppend) info "APPLICATION STARTED"
https://github.com/status-im/nim-chronicles#working-with-file-outputs