From a4f774b6b211fbe708034b2de1a4f1898153cf43 Mon Sep 17 00:00:00 2001 From: Sinai Date: Thu, 22 Apr 2021 20:11:34 +1000 Subject: [PATCH] Fix unity log listeners --- src/Core/Runtime/Il2Cpp/Il2CppProvider.cs | 2 +- src/Core/Runtime/Mono/MonoProvider.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Runtime/Il2Cpp/Il2CppProvider.cs b/src/Core/Runtime/Il2Cpp/Il2CppProvider.cs index 02136ce..d027b13 100644 --- a/src/Core/Runtime/Il2Cpp/Il2CppProvider.cs +++ b/src/Core/Runtime/Il2Cpp/Il2CppProvider.cs @@ -66,7 +66,7 @@ namespace UnityExplorer.Core.Runtime.Il2Cpp private void Application_logMessageReceived(string condition, string stackTrace, LogType type) { - ExplorerCore.Log(condition, type, true); + ExplorerCore.LogUnity(condition, type); } public override void StartCoroutine(IEnumerator routine) diff --git a/src/Core/Runtime/Mono/MonoProvider.cs b/src/Core/Runtime/Mono/MonoProvider.cs index b1afedf..3095abe 100644 --- a/src/Core/Runtime/Mono/MonoProvider.cs +++ b/src/Core/Runtime/Mono/MonoProvider.cs @@ -39,7 +39,7 @@ namespace UnityExplorer.Core.Runtime.Mono private void Application_logMessageReceived(string condition, string stackTrace, LogType type) { - ExplorerCore.Log(condition, type, true); + ExplorerCore.LogUnity(condition, type); } public override void StartCoroutine(IEnumerator routine)