将一个命令的输出保存在日志文件中。 更多信息:https://manned.org/logsave.
logsave {{path/to/logfile}} {{command}}
logsave {{logfile}} -
logsave -a {{logfile}} {{command}}
logsave -v {{logfile}} {{command}}