Add butter and sugars to mixing bowl. Mix until fluffed. Add eggs and vanilla extract.
Once smooth add flour, baking powder and salt. Combine. Add cranberries and rosemary.
Shape into a long flat log on a sheet pan lined with parchment paper. Bake for 20-25 minutes, or until outside has a dry crust. Let cool, then slice into ½-inch slices.
Bake for 10 minutes, flipping halfway through. Remove from oven and let cool.