add #warn function to formatters

@berkshelf/core not sure how we didn't have this before