If any horse, mule or ass, or any neat cattle, hogs or sheep, or other domestic animals, shall break into any enclosure, and the owner or occupant thereof shall consider himself aggrieved thereby, such person may apply to the fence viewers of the township in which such enclosure may be situate, having first given at least one day's notice, in writing, to the owner or keeper of such trespassing animal, if known to him, or by leaving a written notice at the place of abode of such person, of his intended application, and also of the time when the fence viewers will attend to examine the fence and investigate the subject of damages; and the said fence viewers shall forthwith repair to the place where such injury shall have been done, and there diligently examine the fence over or through which such trespassing animal shall have broken or entered into any such enclosure.
K.S.A. 29-402