On 2020-05-06 18:03, 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
Seems it does work. I had a channel in a go func blocking somehow, amongst other things. Converted to a proper function that I am used to using, ran as a go routine and it's working. Pretty neat actually. Sorry for the noise. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/35075015-4c9a-2187-f9f6-21756440d410%40gmail.com.
