feat(conf): ability to set log level in config

This commit is contained in:
2025-11-18 22:14:52 -03:00
parent ce1139e335
commit a7e8f3add0
4 changed files with 14 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ proc getConfig*(path: string): (Config, parseCfg.Config) =
minTokens: cfg.get("Config", "tokenCount", 10),
enableRss: cfg.get("Config", "enableRSS", true),
enableDebug: cfg.get("Config", "enableDebug", false),
logLevel: cfg.get("Config", "logLevel", ""),
proxy: cfg.get("Config", "proxy", ""),
proxyAuth: cfg.get("Config", "proxyAuth", "")
)