Config
Yams is designed to minimize the amount of config you need to worry about. Whatever there is to worry about lives here though.
config:set_debug
Debug Configuration
Example
If you need to see how yams is working under the hood, then you can use the set_debug
& get_debug
property accessors
in your scripts to enable debug logging.
]] function config:set_debug(val) env.info("[DEBUG] setting debug to " .. tostring(val)) self.debug = val return self end
--[[ config:get_debug
Gets the value of the debug config
property