The county sheriff of each county in this state shall have the custody, rule, and charge of the jail within his or her county and all prisoners committed in his or her county, and he or she may appoint a jailer for whose conduct he or she shall be responsible.