Serilog.Rendering.ReusableStringWriter
Class that provides reusable StringWriters to reduce memory allocations
namespace Serilog.Rendering
{
internal sealed class ReusableStringWriter : StringWriter
{
public static StringWriter GetOrCreate(IFormatProvider formatProvider = null);
}
}