NLog custom LayoutRenderer is rendering log events as empty string
问题 This is my environment: Visual Studio 2017 Project's .NET runtime version is 4.6.2 XUnit version 2.3.1 NLog version 4.4.12 Fluent Assertions 4.19.4 The problem From the sample code below which can be run to reproduce the problem, we have 2 custom LayoutRenderer : RendererOne and RendererTwo . Those 2 are then used in tests TestA and TestB respectively. When i run the test one at a time, I do not get any problem. However, if were to run them in one go example via XUnit's "Run All" button, I