add in a formater for the logger