Yes, this is the integral version of the static electric field version of Ampere's Law:
$$\oint \mathbf{B} \cdot d \mathbf{l}= \mu_{0} I_{ \text{enc}}.$$
In words, the line integral of the magnetic field around a closed loop is equal to the permeability of free space times the enclosed current. By "enclosed current", we mean the total current enclosed by the closed loop of the line integral. This law invites us to dream up what Griffiths calls an "Amperian Loop", quite analogous to a "Gaussian surface". The loop does not have to correspond to any physical object - it just needs to be closed (and there probably are some regularity conditions that those pesky mathematicians want to impose, hehe).
Note that Gauss's Law is to electrostatics what Ampere's Law is to magnetism: if you have sufficient symmetry, Ampere's Law provides by far the easiest way to compute the magnetic field. If you don't have sufficient symmetry, you have to fall back on the Law of Biot and Savart, just as when you don't have sufficient symmetry to use Gauss's Law, you have to fall back on the more direct methods for finding the electric field.
In practice, Ampere's Law is useful for four basic kinds of current distributions: straight wire, infinite sheet of current, solenoid, and toroidal solenoid.