Preheat oven to 350 degrees. Grease and flour 2 round 9-inch cake pans.
Mix the flour, sugar, cocoa, baking powder, baking soda and salt in a bowl. Mix well.
In a stand mixer, mix the buttermilk, oil, eggs, vanilla together until combined.
Slowly add in the mix of dry ingredients while the mixer is on low and mix until combined.
Add the coffee and mix until everything is well mixed, scraping the sides of the bowl as needed. Batter will be very thin.
Pour the batter into the prepared pans and bake for about 25 minutes or until a toothpick inserted in the middle comes out clean.
Allow the cakes to cool for 10 minutes in the pan, then turn the cakes out onto a cooling rack. While the cakes are cooling, make your frostings.
In a stand mixer with the beater blade, beat the butter for 1-2 minutes until it is smooth, creamy and nearly white in appearance.
Add in the salt and vanilla. Mix until incorporated.
With the mixer on low speed, slowly add in the powdered sugar and cocoa powder.
Add the heavy cream, a tablespoon at a time, mixing slowly until it is the consistency that you'd like.
Beat for 1 minute on medium speed until smooth and creamy.
Cookie Dough Frosting:
Cream together the butter and sugars in a stand mixer until smooth and creamy.
Add the flour (see notes), milk and vanilla and beat on high until well combined, about 2-3 minutes.
Now it's time to put together your cake!
Place one cake layer on a cake plate.
Frost the top of the first cake with the Cookie Dough Frosting. Then layer the other half of the cake on top.
Frost the outside of the cake with the Chocolate Buttercream Frosting.
Pipe dollops along the bottom edge and top with the leftover Cookie Dough Frosting and/or decorate as desired. Top with a chocolate chip cookie!
The calories shown are based on the cake being cut into 15 pieces, with 1 serving being 1 slice of cake (all of the frosting used on the cake). Since different brands of ingredients have different nutritional information, the calories shown are just an estimate. **We are not dietitians and recommend you seek a nutritionist for exact nutritional information.**If you're worried about eating raw flour, simply spread the flour on a silpat and bake at 350 degrees for 5 minutes. Allow the flour to cool and continue on with your recipe.