Output messages to stdout/stderr