如何在lua中获取参数的名称? [英] How to get name of the argument in lua?

查看:819
本文介绍了如何在lua中获取参数的名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有接受参数的lua函数.我想获取参数的名称,以便可以将参数和错误一起记录下来.

I have lua function which accept the arguments. I want to get the name of the argument so that I can log the argument along with error.

有人知道如何在lua中获取参数名称吗?

Any idea how to get argument name in lua?

推荐答案

使用 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆