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
Gopherbot has added the Documentation label, but I think it is not a documentation issue; at least not strictly.
It is the code that should be updated to match the documentation, we could also do it the other way, but I think the former is better.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run the program; https://go.dev/play/p/YVBdftehuQ7
What did you expect to see?
What did you see instead?
The docs;
go/src/log/slog/json_handler.go
Lines 68 to 70 in b950cc8
If the AddSource option is set and source information is available, the key is "source" and the value is output as "FILE:LINE".
The text was updated successfully, but these errors were encountered: