Introduce the LuaCsLogger class and make everything use that instead

This commit is contained in:
EvilFactory
2022-12-28 16:01:48 -03:00
parent 5807900556
commit 8fdf2156dc
16 changed files with 168 additions and 151 deletions
@@ -18,10 +18,9 @@ namespace TestProject.LuaCs
// same methods, otherwise we get script ownership exceptions.
luaCs = luaCsFixture.LuaCs;
luaCs.MessageLogger = (prefix, o) =>
LuaCsLogger.MessageLogger = (o) =>
{
o ??= "null";
output?.WriteLine(prefix + o);
output?.WriteLine($"{o}");
};
UserData.RegisterType<TestValueType>();