You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.Println()默认为标准错误输出;
想要把输出的内容重定向到日志文件中,应该把 go run receive_logs_direct.go warning error > logs_from_rabbit.log改成go run receive_logs_direct.go warning error 2> logs_from_rabbit.log