Module:Log globals/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This module finds nil global variable use and adds the to the Lua log along with where they were read/written. This module is different from require('strict') as you can see all nil global variables that are being read/written to rather than only getting an error for the first problematic global variable. The arg variable is excluded.

See also

[edit source]
  • require('strict') - Creates error message for first encountered nil global read/write