Support this project by becoming a Sponsors. The company avatar will show up here with a link to your website. The avatar will also be added to all GitHub repositories under this organization.
Thanks to all the backing developers! Support this project by becoming a patron.
Standard Logging Library
Pipe NServiceBus logging messages through to Serilog.
var loggerConfiguration = new LoggerConfiguration(); loggerConfiguration.WriteTo.Console(); loggerConfiguration.MinimumLevel.Debug(); loggerConfiguration.WriteTo.File("logFile.txt"); var logger = loggerConfiguration.CreateLogger(); Log.Logger = logger; //Set NServiceBus to log to Serilog var serilogFactory = LogManager.Use<SerilogFactory>(); serilogFactory.WithLogger(logger);