Log: print the log to a string and pass it to the log interface.