use Log.write_stdout and Log.write_stderr to print the log