In the day, etc. - Here the unfinished statement of Rom 2:12 is resumed and closed.
shall judge the secrets of men - here specially referring to the unfathomed depths of hypocrisy in the self-righteous whom the apostle had to deal with. (See Ecc 12:14; 1Co 4:5).
according to my gospel - to my teaching as a preacher of the Gospel.