summaryrefslogtreecommitdiff
path: root/indra/llcommon/lua_function.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-12 16:51:33 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-12 16:51:33 -0400
commit128514da9e1b24e8d817ec90b53dea9506f31101 (patch)
tree0bf4bf57677f604ea5cf8f36b177fccb99b04c95 /indra/llcommon/lua_function.cpp
parent52ff9dfe404e4a49ac43185004218ce4e50e2971 (diff)
LuaState::expr() has log messages for ending, add for starting.
It's helpful to see when expr() is actually going to start running a particular Lua chunk. We already report not only when it's done, but also if/when we start and finish a p.s. fiber.run() call.
Diffstat (limited to 'indra/llcommon/lua_function.cpp')
-rw-r--r--indra/llcommon/lua_function.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/lua_function.cpp b/indra/llcommon/lua_function.cpp
index 08bc65e0c5..7c80f65ff9 100644
--- a/indra/llcommon/lua_function.cpp
+++ b/indra/llcommon/lua_function.cpp
@@ -529,6 +529,7 @@ std::pair<int, LLSD> LuaState::expr(const std::string& desc, const std::string&
lluau::check_interrupts_counter(L);
};
+ LL_INFOS("Lua") << desc << " run" << LL_ENDL;
if (! checkLua(desc, lluau::dostring(mState, desc, text)))
{
LL_WARNS("Lua") << desc << " error: " << mError << LL_ENDL;