Public statement. ‘Record’ refers to an official, historic account, so to go on the record is to have posterity know one’s intent. A public acknowledgement. Opposite of hiding the facts.
“The mayor said he wanted to go on the record as voting against higher taxes.”