DbUp Serilog Upgrade Log

Oct 28, 2015 • val antonini

A DbUp Upgrade Log that logs to serilog. You can view the project at https://github.com/valantonini/DbUp.SerilogUpgradeLog or install on nuget.

    Install-Package DbUp.SerilogUpgradeLogger

Usage:

var upgrader = DeployChanges.To
                            .SqlDatabase("")
                            .WithScriptsEmbeddedInAssembly(Assembly.GetExecutingAssembly())
                            .LogToConsole()
                            .LogToSerilog() //add this line
                            .Build();