Add structured logging functionality to inventory manager

This commit is contained in:
MayaTheShy
2026-03-22 01:59:08 -04:00
parent 11c38dbabb
commit 0e4d184059

View File

@@ -35,6 +35,12 @@ local CRAFT_REPLY_CHANNEL = 4204
local CONFIG_FILE = ".manager_config"
local _loadedConfig = nil -- stored for deferred overrides (compost settings declared later)
-------------------------------------------------
-- Structured logging
-------------------------------------------------
local log = dofile("lib/log.lua")
local function loadConfig()
if not fs.exists(CONFIG_FILE) then return end
local f = fs.open(CONFIG_FILE, "r")