src/Shared/EntityFramework/Infrastructure/Interception/DatabaseLogger.cs
/// <summary>
/// Stops logging and closes the underlying file if output is being written to a file.
/// </summary>
/// <param name="disposing">
/// True to release both managed and unmanaged resources; False to release only unmanaged resources.
/// </param>
Stops logging and closes the underlying file if output is being written to a file.
Stops logging and closes the underlying file if output is being written to a file .
protected virtual void Dispose(bool disposing)
        {
            StopLogging();
            if (disposing && _writer != null)
            {
                _writer.Dispose();
                _writer = null;
            }
        }
protected virtual void Dispose ( bool disposing ) { StopLogging ( ) ; if ( disposing && _writer != null ) { _writer . Dispose ( ) ; _writer = null ; } }
Stops logging and closes the underlying file if output is being written to a file.
Stops logging and closes the underlying file if output is being written to a file .
disposing
bool
True to release both managed and unmanaged resources; False to release only unmanaged resources.
True to release both managed and unmanaged resources ; False to release only unmanaged resources .