Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: log.Fatal description is inaccurate #59168

Closed
ShyLionTjmn opened this issue Mar 21, 2023 · 1 comment
Closed

x/pkgsite: log.Fatal description is inaccurate #59168

ShyLionTjmn opened this issue Mar 21, 2023 · 1 comment

Comments

@ShyLionTjmn
Copy link

What is the URL of the page with the issue?

https://pkg.go.dev/log#Fatal

Description says that:

Fatal is equivalent to Print() followed by a call to os.Exit(1).

But it is not. Print prints to stdout, when Fatal prints to stderr:

std.Output(2, fmt.Sprint(v...))

@gopherbot gopherbot added this to the Unreleased milestone Mar 21, 2023
@seankhliao
Copy link
Member

Print goes to stderr too

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2023
@golang golang locked and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants