Skip to content

Commit 6919585

Browse files
committed
Add SerilogLoggerProvider documentation.
1 parent 4f50358 commit 6919585

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/UsingSerilogLogging.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## How to Use
2+
3+
To integrate MySqlConnector with [Serilog](https://serilog.net/), add the following line of code to your application startup routine (before any `MySqlConnector` objects have been used):
4+
5+
```
6+
MySqlConnectorLogManager.Provider = new SerilogLoggerProvider();
7+
```

0 commit comments

Comments
 (0)