moved the output helper function to the logging module