Hey, I am unable to print logs to a file.
f, err := os.OpenFile("logs.log", os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0666) if err != nil { log.Fatal(err) } defer f.Close() log.NewLogger(f) log.Info("Sucesssss")
This is going to console and I think my issue is related with #82 . What is happening and how can this be fixed?