Logger custom formatting

Logger now has setFormattingPattern so you can custom format your logging output any way you like.