Formatting console output.