Module:log set and get/documentation
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.