Skip to content

About

NUnit sink for Serilog

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Serilog.Sinks.NUnit

Build status MyGet CI NuGet

Basic NUnit sink for Serilog. Any log attempts are being displayed in the test output window by default in following format:

{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level}] {Message}{NewLine}  {Exception}

Works in Resharper and NUnit console runner as well.

Package - Serilog.Sinks.NUnit

var log = new LoggerConfiguration()
	.WriteTo.NUnitOutput()
	.CreateLogger();

Issues

Logging currently does not work in VS Test Adapter as TestContext.Out is not being populated there.

About

NUnit sink for Serilog

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages