proposal: add constant flag in logging
to log the goroutine id to trace the bug
#27361
Labels
Milestone
logging
to log the goroutine id to trace the bug
#27361
I have understood that there are some disadvantages in getting the goroutine ID in the program. However, I also have noticed that in https://golang.org/pkg/log/#pkg-constants we have some approach to logging the file name and line no etc...
I think it would very useful in the debugging of a program if goroutine ID could be logged in a similar way.
The text was updated successfully, but these errors were encountered: