The district attorney must keep a register of official business, in which the district attorney shall make a note of every action, suit or proceeding commenced or defended by the district attorney in official capacity, and the proceedings therein. The register shall, at the expiration of the term of office of the district attorney, be delivered by the district attorney to the successor in office.