Every officer having charge of a vessel lying at anchor in the Delaware river shall show from sundown until sunrise, a light at some conspicuous part of the vessel, at least ten feet above the deck. For every violation of this section the officer having charge of a vessel shall be liable to a penalty of ten dollars to be recovered by any person who shall sue for the same.
N.J.S. § 12:4-18