Skip to content

Commit

Permalink
Merge pull request #807 from ibbyu/main
Browse files Browse the repository at this point in the history
Fix typo in logging docs
  • Loading branch information
droyad authored Oct 22, 2024
2 parents 4fd2785 + 7302cb6 commit 7cf133c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/more-info/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DbUp has a simple logging abstraction in place using the `IUpgradeLog` interface
* Use `builder.LogTo(new MyCustomLogger())` to provide your own logger based on `IUpgradeLog`.
* Use `builder.LogTo(ILogger)` or `builder.LogTo(ILoggerFactory)` to provide a [Microsoft.Extensions.Logging compliant logging provider](https://learn.microsoft.com/en-us/dotnet/core/extensions/logging-providers#third-party-logging-providers).

These calls use `builder.Configure((UpgradeConfigureation c) => c.AddLog(log))` under the covers.
These calls use `builder.Configure((UpgradeConfiguration c) => c.AddLog(log))` under the covers.

If no logger is specified, no logging is enabled.

Expand Down Expand Up @@ -43,4 +43,4 @@ Third-party logging provider example using Serilog:
.WithScriptsEmbeddedInAssembly(Assembly.GetExecutingAssembly())
.LogTo(loggerFactory) // Register the logging provider.
.LogScriptOutput()
.Build()
.Build()

0 comments on commit 7cf133c

Please sign in to comment.