public void LogEvent(HandlerStackEvent stackEvent, string uiHierarchyPath, GeneratorPass currentPass) { var timestamp = DateTime.Now; var offset = timestamp - logStartTime; var logItem = new HandlerStackLogItem(this, stackEvent, offset, currentPass, uiHierarchyPath); var debugInfo = logItem.DebugInfo; this.Log.Add(logItem); GlobalLog.Add(logItem); }