Skip to content

Commit d7b5f44

Browse files
authored
fix: Use DSN instead of key (#845)
Resolves #837
1 parent d85aa96 commit d7b5f44

File tree

1 file changed

+1
-1
lines changed
  • src/collections/_documentation/platforms/dotnet

1 file changed

+1
-1
lines changed

src/collections/_documentation/platforms/dotnet/serilog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ It's also possible to initialize the SDK through the Serilog integration. This i
5757

5858
```csharp
5959
Log.Logger = new LoggerConfiguration()
60-
.WriteTo.Sentry(o => o.Dsn = new Dsn("___PUBLIC_KEY___"))
60+
.WriteTo.Sentry(o => o.Dsn = new Dsn("___PUBLIC_DSN___"))
6161
.CreateLogger();
6262
```
6363

0 commit comments

Comments
 (0)