public static void DebugLog(LOG_CHANNEL channel, string message) { string content = CoreLogger.Debug(channel, message); if (OnLogReceived != null) { OnLogReceived(channel, LogType.Log, content); } }
public static void Error(LOG_CHANNEL channel, string message, UnityEngine.Object context = null) { string content = CoreLogger.Error(channel, message); if (OnLogReceived != null) { OnLogReceived(channel, LogType.Error, content); } }