public static string GetScriptLog(Int32 scriptId) { return(Utf8Marshaler.PtrToStringUtf8(DebugApi.GetScriptLogWrapper(scriptId)).Replace("\n", Environment.NewLine)); }