(a) When an offense listed in section 11501 of this title is committed, an entry shall be made in the vessel’s official logbook—
(b) Before arrival in port if the offense was committed at sea, or before departure if the offense was committed in port and the offender is still on the vessel—
(c) After subsection (b) of this section has been complied with, an entry shall be made in the official logbook—