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); }
public HandlerStackLogItem(HandlerStackItem handlerStackItem, HandlerStackEvent stackEvent, TimeSpan offset, GeneratorPass currentPass, string uiHierarchyPath) { this.HandlerStackItem = handlerStackItem; this.HandlerStackEvent = stackEvent; this.StartOffset = offset; this.CurrentPass = currentPass; this.UIHierarchyPath = uiHierarchyPath; }
public RedirectedGeneratorOptions(StreamWriter outputWriter, StreamWriter errorWriter, GeneratorPass generatorPass, bool noFileCreation) { this.PrintMode = PrintMode.PrintUIHierarchyPathOnly; this.RecursionStackLimit = 255; this.OutputWriter = outputWriter; this.ErrorWriter = errorWriter; this.GeneratorPass = generatorPass; this.NoFileCreation = noFileCreation; }