Introduce the LuaCsLogger class and make everything use that instead
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user