Added unit tests for logging message formats.