golang - logrus log时出现Failed to write to log, invalid argument

caozhi

2018-04-24T10:11:59Z||2018-04-24T10:11:59Z

原因是logger.Out被设置成了一个文件(类型是io.WriteCloser),然后这个io.WriteCloserClose掉了😂😂😂