public static void AddLogReceiver(UCL_iLogMessageReceiver logger) { lock (Loggers) { if (!Loggers.Contains(logger)) { Loggers.Add(logger); } } }
public static void Init() { Debug.unityLogger.logHandler = LogHandler; if (LogHandler is UCL_iLogMessageReceiver) { UCL_iLogMessageReceiver receiver = (LogHandler as UCL_iLogMessageReceiver); AddLogReceiver(receiver); } }