public void Dispose()
 {
     // 手动释放定时器
     // _timer?.Dispose();
     LogQueueInstance.Clear();
 }
        public Task StopAsync(CancellationToken cancellationToken)
        {
            LogQueueInstance.Clear();

            return(Task.CompletedTask);
        }