<PackageReference Include="Relativity.Other" Version="12.0.1" />

SqlExecutionLogger

public ILogGateway LogGateway { get; }

protected SqlExecutionLogger(ILogGateway gateway)

protected virtual void Dispose(bool disposing)

public void Dispose()

public SqlExecutionLogger LogAzureSqlTransientEvent(SqlException ex, int transientErrorAttemptNumber, int maxAttempts)

public SqlExecutionLogger LogDeadlockEvent(SqlException ex, int deadlockAttemptNumber, int maxAttempts)

public SqlExecutionLogger LogTimeoutRetryEvent(Exception ex, string timeoutType, int timeoutAttemptNumber, int maxAttempts)

public void LogUnknownFailureEvent(Exception ex, string dbName, string dbServer, string statement, IEnumerable<IDataParameter> parameters, int timeout, bool invalidOperationOccurred)