In the bowl of a mixer, cream together the butter and sugars. Beat in vanilla and the eggs, one at a time until well incorporated. Whisk together the flour, salt, baking soda, cinnamon, cocoa powder, and oats. Beat into the cream mixture. Refrigerate cookie dough for 15 minutes.