private void logStartAndFinish(double start, double finish)
        {
            var correlation = new BehaviorCorrelation(theNode);

            theLog.AddLog(start, new BehaviorStart(correlation));
            theLog.AddLog(finish, new BehaviorFinish(correlation));
        }
        private void hasAnExceptionAgainstTheNode()
        {
            var correlation = new BehaviorCorrelation(theNode);

            
            
            theLog.AddLog(10, new BehaviorStart(correlation));
            theLog.AddLog(12, new ExceptionReport("bad", new Exception()){CorrelationId = theNode.UniqueId});
            theLog.AddLog(15, new BehaviorFinish(correlation));
        }
Example #3
0
        public BehaviorTracer(BehaviorCorrelation correlation, IDebugReport report, IDebugDetector debugDetector)
        {
            _report = report;
            _debugDetector = debugDetector;

            if (_report.BehaviorId == Guid.Empty)
            {
                _report.BehaviorId = correlation.ChainId;
            }

            _behaviorId = correlation.BehaviorId;
        }
 public BehaviorTracer(BehaviorCorrelation correlation, IDebugDetector debugDetector, ILogger logger)
 {
     _correlation = correlation;
     _debugDetector = debugDetector;
     _logger = logger;
 }
 public BehaviorStart(BehaviorCorrelation correlation)
 {
     _correlation = correlation;
 }
 public BehaviorTracer(BehaviorCorrelation correlation, ILogger logger)
 {
     _correlation = correlation;
     _logger = logger;
 }
 public BehaviorFinish(BehaviorCorrelation correlation)
 {
     _correlation = correlation;
 }
 public BehaviorTracer(BehaviorCorrelation correlation, ILogger logger, IExceptionHandlingObserver exceptionObserver)
 {
     _correlation       = correlation;
     _logger            = logger;
     _exceptionObserver = exceptionObserver;
 }
 public BehaviorTracer(BehaviorCorrelation correlation, IRequestTrace trace, IExceptionHandlingObserver exceptionObserver)
 {
     _correlation = correlation;
     _trace = trace;
     _exceptionObserver = exceptionObserver;
 }
 public BehaviorTracer(BehaviorCorrelation correlation, ILogger logger, IExceptionHandlingObserver exceptionObserver)
 {
     _correlation = correlation;
     _logger = logger;
     _exceptionObserver = exceptionObserver;
 }