Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

go客户端教程路由篇——小问题#331

yihao-bit started this conversation inGeneral
Discussion options

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

You must be logged in to vote

Replies: 1 comment

Comment options

I'm not sure what you are suggesting. Redirecting logs to a file
for these examples should be no different from any other command line tool.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@yihao-bit@michaelklishin
Converted from issue

This discussion was converted from issue #330 on July 19, 2022 12:50.


[8]ページ先頭

©2009-2025 Movatter.jp