Skip to content

Commit

Permalink
Fix Serilog example code error.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrainger committed Jul 7, 2023
1 parent 22a78dd commit 1b7595f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/overview/logging.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
lastmod: 2023-01-21
lastmod: 2023-07-07
date: 2018-01-20
menu:
main:
Expand Down Expand Up @@ -71,5 +71,5 @@ Install [MySqlConnector.Logging.Serilog](https://www.nuget.org/packages/MySqlCon
Add the following line of code to your application startup routine:

```csharp
MySqlConnectorLogManager.Provider = new SerilogLoggerProvider(loggerFactory);
MySqlConnectorLogManager.Provider = new SerilogLoggerProvider();
```

0 comments on commit 1b7595f

Please sign in to comment.