Skip to content

Commit 386e5aa

Browse files
committed
Update README.md
1 parent 10395c5 commit 386e5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class Startup
3030

3131
The conditional compilation (`#if`) is necessary if you're targeting the CoreCLR runtime, for which there are currenlty few Serilog sinks. If you're targeting the full .NET framework you can just use `.WriteTo.Trace()`, or any other available sink.
3232

33-
**Finally**, in your `Startup` class's `Configure()` method, call `UseSerilog()` on the provided `loggerFactory`.
33+
**Finally**, in your `Startup` class's `Configure()` method, call `AddSerilog()` on the provided `loggerFactory`.
3434

3535
```csharp
3636
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerfactory)

0 commit comments

Comments
 (0)