public void Log(object log) { var step = new RequestStep(requestTime(), log) { Activity = _activityStack.Peek() }; _steps.Add(step); }
public bool Equals(RequestStep other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(other.RequestTime.Equals(RequestTime) && Equals(other.Log, Log)); }
public void Log(object log) { var step = new RequestStep(requestTime(), log) {Activity = _activityStack.Peek()}; _steps.Add(step); }
public bool Equals(RequestStep other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.RequestTime.Equals(RequestTime) && Equals(other.Log, Log); }