A simple formatter for console output