public static void Enable() { if (isEnable) { return; } isEnable = true; build.debugLevel = BuildSettings.DebugLevel.Debug; PlayerPrefs.SetInt("remoteLogger", 1); Debug.Log("Remote Logger - Enabled"); Application.logMessageReceived += instance.HandleLog; instance.StartCoroutine(instance.WaitForRequest()); }
public static void Enable() { if (isEnable) { return; } isEnable = true; PlayerPrefs.SetInt("remoteLogger", 1); Debug.Log("Remote Logger - Enabled"); Application.RegisterLogCallback(instance.HandleLog); instance.StartCoroutine(instance.WaitForRequest()); }
public static void Enable() { if (isEnable) { return; } isEnable = true; PlayerPrefs.SetInt("remoteLogger", 1); Debug.Log("Remote Logger - Enabled"); #if UNITY_5 Application.logMessageReceived += instance.HandleLog; #else Application.RegisterLogCallback(instance.HandleLog); #endif instance.StartCoroutine(instance.WaitForRequest()); }