Observable logs (#51)

* observable log entries

* event test
This commit is contained in:
deeptowncitizen
2017-10-07 09:05:02 -04:00
committed by Stef Heyenrath
parent 9c55ff5ea6
commit 2d39a18b70
4 changed files with 87 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using WireMock.Logging;
using WireMock.Matchers;
@@ -15,7 +16,7 @@ namespace WireMock.Owin
public IList<Mapping> Mappings { get; set; }
public IList<LogEntry> LogEntries { get; set; }
public ObservableCollection<LogEntry> LogEntries { get; set; }
public int? RequestLogExpirationDuration { get; set; }
@@ -24,7 +25,7 @@ namespace WireMock.Owin
public WireMockMiddlewareOptions()
{
Mappings = new List<Mapping>();
LogEntries = new List<LogEntry>();
LogEntries = new ObservableCollection<LogEntry>();
}
}
}