Module:log set and get/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Module:log set and get. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

Creates a new version of a table that prints setting (__newindex) and getting (__index) operations to the log, that is table[key] = value and value = table[key]. This can help you identify why a value in your table has vanished or appeared. May not work if the table already has a metatable.