feat: update logging with debug logs

This commit is contained in:
Barrett Ruth 2025-09-12 23:21:32 -05:00
parent 5c93bd259e
commit e9f1b06843
5 changed files with 51 additions and 35 deletions

View file

@ -29,6 +29,7 @@ M.defaults = {
before_run = nil,
before_debug = nil,
},
debug = false,
}
---@param base_config table
@ -56,6 +57,7 @@ function M.setup(user_config)
contests = { user_config.contests, { "table", "nil" }, true },
snippets = { user_config.snippets, { "table", "nil" }, true },
hooks = { user_config.hooks, { "table", "nil" }, true },
debug = { user_config.debug, { "boolean", "nil" }, true },
})
if user_config.hooks then