Dispose
public void Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
FileLogger share to log messages to public void Dispose()public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter, string category)logLevelLogLeveleventIdEventIdstateTStateexceptionExceptionformatterFunc<TState, Exception, string>categorystring