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

Add a logging sink for Android #569

Closed
sithhell opened this issue Oct 11, 2012 · 0 comments
Closed

Add a logging sink for Android #569

sithhell opened this issue Oct 11, 2012 · 0 comments

Comments

@sithhell
Copy link
Member

Android provides a special logging facility. It would be very helpful hpx could log to that directly.

The API to implement is this:

#if defined(ANDROID) || defined(__ANDROID__)

#include <android/log.h>

// ...
const char * some_text = ...
__android_log_write(ANDROID_LOG_DEBUG, "hpx", some_text);

#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants