public void Dispose()
 {
     traceListener.Remove(Write);
 }
        public ValueTask DisposeAsync()
        {
            traceListener.Remove(Write);

            return(writer.DisposeAsync());
        }