Skip to content

Commit 5d9b9d0

Browse files
committed
Update readme
1 parent 8cc312c commit 5d9b9d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public class LoggingMiddleware(ILogger<LoggingMiddleware> logger)
7474
{
7575
public Stopwatch Before(object message) => Stopwatch.StartNew();
7676

77+
// Objects or tuples returned from the Before method are available as parameters
7778
public void Finally(object message, Stopwatch sw, Exception? ex)
7879
{
7980
logger.LogInformation("Handled {MessageType} in {Ms}ms",

0 commit comments

Comments
 (0)