public void LogToSql_Success() { logger.Write(ex); var success = true; success.Should().BeTrue(); }
private static void WriteToSql(Exception exception) { var sqlLogger = new SqlLogger(new DetailedError()); sqlLogger.Write(exception); }