LuaGenerator: Look for 'loc' element in table passed to log.*