コード例 #1
0
 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;
 }
コード例 #2
0
        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);
        }