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
After splitting the app package from gobind (CL 11654), the log redirection to Android logcat (app/stdio_android.go) is not setup automatically for gobind-based apps.
A workaround is manually importing "golang.org/x/mobile/app", but this is both surprising and wasteful (app pulls in the gl package). Perhaps the logging setup should be done in a separate (internal) package?
The text was updated successfully, but these errors were encountered:
Package app contains some logic that we want to share with
gobind-based libraries. So move it to a new internal package
that both can import.
Long term the log changes should be in the standard library,
but the Go tree is currently frozen.
Fixesgolang/go#11630.
Change-Id: I9ff622fc499bf255bce18df23cb68b03f667947f
Reviewed-on: https://go-review.googlesource.com/11981
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
imWildCat
pushed a commit
to imWildCat/go-mobile
that referenced
this issue
Apr 11, 2021
Package app contains some logic that we want to share with
gobind-based libraries. So move it to a new internal package
that both can import.
Long term the log changes should be in the standard library,
but the Go tree is currently frozen.
Fixesgolang/go#11630.
Change-Id: I9ff622fc499bf255bce18df23cb68b03f667947f
Reviewed-on: https://go-review.googlesource.com/11981
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
After splitting the app package from gobind (CL 11654), the log redirection to Android logcat (app/stdio_android.go) is not setup automatically for gobind-based apps.
A workaround is manually importing "golang.org/x/mobile/app", but this is both surprising and wasteful (app pulls in the gl package). Perhaps the logging setup should be done in a separate (internal) package?
The text was updated successfully, but these errors were encountered: