On 2020-05-06 17:57, Kevin Chadwick wrote: > If you use log.SetOutput within a go routine, even if you delay main to make > sure there is no race. Then mains following log.Print and following functions > or > executions log output are not redirected?
If you expect this should work then perhaps I have some other issue currently that didn't affect my initial experiments. As I am having trouble getting it working even from main currently. Sorry -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8667c166-dd15-859b-d547-6b1514e85d88%40gmail.com.