Assume that this geometry of the loop consists of concentric circles whose radii varies from a to b.
The area of the strip is 2π xdx and the current through the area is b−aNI Therefore, the total magnetic field is B = a∫b2(b−a)xμ0NIdx = 2(b−a)μ0NIln(b/a)