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

[SR-2734] fatalError does not log on Android #45338

Closed
johnno1962 opened this issue Sep 23, 2016 · 1 comment
Closed

[SR-2734] fatalError does not log on Android #45338

johnno1962 opened this issue Sep 23, 2016 · 1 comment
Labels
Android Platform: Android improvement standard library Area: Standard library umbrella

Comments

@johnno1962
Copy link
Contributor

Previous ID SR-2734
Radar None
Original Reporter @johnno1962
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Improvement, Android
Assignee None
Priority Medium

md5: 2f2d81b0a7232671d01a1cd62c6f09cc

Issue Description:

Calls to fatalError from Swift doe not log the informative message on Android or provide a stack trace. A change should be made around here: https://github.com/apple/swift/blob/master/stdlib/public/runtime/Errors.cpp#L204 to use __android_log_print() and modify the link of stdlib to use -llog.

@johnno1962
Copy link
Contributor Author

#9869

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Platform: Android improvement standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant