Error messages and log message formatting.