diff options
author | aunsane <aunsane@gmail.com> | 2018-05-20 21:51:19 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-05-20 21:51:19 +0300 |
commit | e79355b2127afe4cdfe4676e76a165fefe6e6c2a (patch) | |
tree | 928556d4829431b7a0f280adc4178e9a749a9445 /plugins/MirLua/src/script.cpp | |
parent | b9f48f4a1d76c9cec03636363075b3e9e64cfc9f (diff) |
MirLua: add logs
Diffstat (limited to 'plugins/MirLua/src/script.cpp')
-rw-r--r-- | plugins/MirLua/src/script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/script.cpp b/plugins/MirLua/src/script.cpp index 976ed79688..0b6b148536 100644 --- a/plugins/MirLua/src/script.cpp +++ b/plugins/MirLua/src/script.cpp @@ -77,6 +77,7 @@ bool CMLuaScript::Load() }
status = Loaded;
+ Log(L"%s:OK", filePath);
if (lua_isnoneornil(L, -1))
return true;
@@ -132,6 +133,7 @@ void CMLuaScript::Unload() bool CMLuaScript::Reload()
{
+ Log(L"Reloading script %s", filePath);
Unload();
return Load();
}
|