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 logging utilities to the SDK #7151

Open
2 tasks done
rezbyte opened this issue Jul 1, 2024 · 1 comment · May be fixed by #7174
Open
2 tasks done

Add logging utilities to the SDK #7151

rezbyte opened this issue Jul 1, 2024 · 1 comment · May be fixed by #7174

Comments

@rezbyte
Copy link
Contributor

rezbyte commented Jul 1, 2024

When using the SDK, I want to have the ability of logging what is going on in Rust code and have them displayed in Android logcat and iOS console.

AC

  • It is possible to log information directly to Android logcat
  • It is possible to log information directly to the iOS console
@paw-hub
Copy link
Contributor

paw-hub commented Jul 4, 2024

A good place to start is here: https://docs.rs/log/latest/log/

@paw-hub paw-hub self-assigned this Jul 4, 2024
paw-hub added a commit that referenced this issue Jul 5, 2024
Use the log crate by rust-lang and simple_logger/android_log.

Closes #7151
@paw-hub paw-hub linked a pull request Jul 5, 2024 that will close this issue
@paw-hub paw-hub linked a pull request Jul 5, 2024 that will close this issue
paw-hub added a commit that referenced this issue Jul 8, 2024
Use the log crate by rust-lang for logging.

Use android_log for Android.

Use oslog for iOS.

Use simple_log for stdout.

Closes #7151
paw-hub added a commit that referenced this issue Jul 8, 2024
Use the log crate by rust-lang for logging.

Use android_log for Android.

Use oslog for iOS.

Use simple_log for stdout.

Closes #7151
paw-hub added a commit that referenced this issue Jul 8, 2024
Use the log crate by rust-lang for logging.

Use android_log for Android.

Use oslog for iOS.

Use simple_log for stdout.

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

Successfully merging a pull request may close this issue.

2 participants