proc setLogger(lvl: Level; file: File = stderr) {....raises: [], tags: [], forbids: [].}
template logDebug(args: varargs[string, `$`])
template logError(args: varargs[string, `$`])
template logInfo(args: varargs[string, `$`])
template logWarn(args: varargs[string, `$`])