void ILogHandler.LogFormat(LogType logType, UnityEngine.Object context, string format, params object[] args) { UnityDebugLogEvent unityDebugLogEvent = new UnityDebugLogEvent(logType, context, format, args); defaultLogHandler?.LogFormat(logType, context, format, args); observers.NotifyNext(unityDebugLogEvent); }
void ILogHandler.LogException(Exception exception, UnityEngine.Object context) { UnityDebugLogEvent unityDebugLogEvent = new UnityDebugLogEvent(LogType.Error, context, exception.ToString()); defaultLogHandler?.LogException(exception, context); observers.NotifyNext(unityDebugLogEvent); }