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)logLevelLogLeveleventIdEventIdstateTStateexceptionException?formatterFunc<TState, Exception?, string>categorystring