As requested, I created a new class TestOutputHelperExtensions and corresponding tests in TestOutputHelperExtensionsTests. I also touched TestOutputLoggerConfigurationExtensions to reuse the DefaultConsoleOutputTemplate (I made this constant internal) - you might want to adjust this if this isn't to your liking.
As discussed in https://github.com/trbenning/serilog-sinks-xunit/issues/7, here is the pull request for the
CreateTestLogger
extension methods.As requested, I created a new class
TestOutputHelperExtensions
and corresponding tests inTestOutputHelperExtensionsTests
. I also touchedTestOutputLoggerConfigurationExtensions
to reuse theDefaultConsoleOutputTemplate
(I made this constant internal) - you might want to adjust this if this isn't to your liking.Happy holidays!