Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile/bind: logcat is not initialized on Android after app/gobind split #11630

Closed
eliasnaur opened this issue Jul 8, 2015 · 1 comment
Closed

Comments

@eliasnaur
Copy link
Contributor

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?

@crawshaw crawshaw self-assigned this Jul 8, 2015
@gopherbot
Copy link

CL https://golang.org/cl/11981 mentions this issue.

@golang golang locked and limited conversation to collaborators Jul 11, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 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.

Fixes golang/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.

Fixes golang/go#11630.

Change-Id: I9ff622fc499bf255bce18df23cb68b03f667947f
Reviewed-on: https://go-review.googlesource.com/11981
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants