public void Hook() { if (m_HookedLogger != null) { throw new InvalidOperationException($"{nameof(ExportConfigurationLogHandler)} has already been hooked into the logger."); } m_JournalData = new ConversionJournalData(); m_JournalData.Init(); m_HookedLogger = UnityDebug.unityLogger.logHandler; UnityDebug.unityLogger.logHandler = this; }
public void SetUp() => m_JournalData.Init();