From 304e779fd0084d4fb9ba94c7838b961e2e873f11 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 22 Mar 2026 02:03:37 -0400 Subject: [PATCH] Add log level configuration to enhance logging flexibility --- inventoryManager.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inventoryManager.lua b/inventoryManager.lua index 72b32b6..0fec772 100644 --- a/inventoryManager.lua +++ b/inventoryManager.lua @@ -72,6 +72,8 @@ local function loadConfig() if cfg.orderChannel then ORDER_CHANNEL = cfg.orderChannel end if cfg.craftChannel then CRAFT_CHANNEL = cfg.craftChannel end if cfg.craftReplyChannel then CRAFT_REPLY_CHANNEL = cfg.craftReplyChannel end + -- Log level + if cfg.logLevel then log.setLevel(cfg.logLevel) end log.info("CONFIG", "Loaded from %s", CONFIG_FILE) end