Skip to content

Commit 4bc97e5

Browse files
authored
Add a note about seeing output in VS [Skip CI]
1 parent c7be617 commit 4bc97e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ That's it! With the level bumped up a little you will see log output like:
8181
[22:14:45.741 DBG] Handled. Status code: 304 File: /css/site.css
8282
```
8383

84+
Tip: to see Serilog output in the Visual Studio output window when running under IIS, select _ASP.NET Core Web Server_ from the _Show output from_ drop-down list.
85+
8486
### Using the package
8587

8688
With _Serilog.AspNetCore_ installed and configured, you can write log messages directly through Serilog or any `ILogger` interface injected by ASP.NET. All loggers will use the same underlying implementation, levels, and destinations.

0 commit comments

Comments
 (0)