Added a way to log pre-formatted messages