You can just write your output to the log file.