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
Hi, not sure if you are still updating this project or anything, but i was wanting to use this on my mac and was curious if it was possible to output the text to file? I do not know go. I am currently a software development with python.
From searching around i was able to get the debug file outputted to a file with
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, not sure if you are still updating this project or anything, but i was wanting to use this on my mac and was curious if it was possible to output the text to file? I do not know go. I am currently a software development with python.
From searching around i was able to get the debug file outputted to a file with
file, err := os.OpenFile("debug", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
log.Fatal(err)
}
mw := io.MultiWriter(os.Stdout, file)
fmt.Fprintln(mw, "Camera state:", formatBool(isCameraOn))
but that does not output anything to a file from microphone.mm or camera.mm
No worries if you arent still watching over this project, but figured i would ask.
Thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions