The county board may, when in its discretion it shall deem it advisable, provide by purchase or otherwise for the procuring and maintaining of a suitable law library for the use of the public. Such library shall be under the supervision of the judges of the district court of the county wherein the same is located.