LogEntries

Stef Heyenrath
2022-03-31 10:58:30 +02:00
parent 5bd77ed45b
commit 0bcb7faada

@@ -65,9 +65,9 @@ server
## Verify interactions ## Verify interactions
The server keeps a log of the received requests. You can use this log to verify the interactions that have been done with the server during a test. The server keeps a log of the received requests. You can use this log to verify the interactions that have been done with the server during a test.
To get all the request received by the server, you just need to read property *RequestLogs*: To get all the request received by the server, you just need to read property *LogEntries*:
```csharp ```csharp
var allRequests = server.RequestLogs; var logEntries = server.LogEntries;
``` ```
If you need to be more specific on the requests that have been send to the server, you can use the very same fluent API that allows to define routes: If you need to be more specific on the requests that have been send to the server, you can use the very same fluent API that allows to define routes:
```csharp ```csharp