7 releases

0.2.0 Jan 15, 2022
0.1.6 Dec 9, 2021
0.1.3 Jul 6, 2021

#712 in Debugging

Download history 1064/week @ 2024-07-21 1130/week @ 2024-07-28 704/week @ 2024-08-04 1026/week @ 2024-08-11 1011/week @ 2024-08-18 981/week @ 2024-08-25 1253/week @ 2024-09-01 1446/week @ 2024-09-08 1313/week @ 2024-09-15 1434/week @ 2024-09-22 1421/week @ 2024-09-29 1231/week @ 2024-10-06 1020/week @ 2024-10-13 1144/week @ 2024-10-20 1192/week @ 2024-10-27 1213/week @ 2024-11-03

4,673 downloads per month
Used in 57 crates (4 directly)

MIT/Apache

10KB
208 lines

tracing-android

tracing-android

Composable tracing layer which logs to logcat using the Android NDK's __android_log_write function. The provided tag will be capped at 23 bytes. Logging events resulting in messages longer than 4000 bytes will result in multiple log lines in logcat. This avoids running into logcat's truncation behaviour.

License: MIT OR Apache-2.0


lib.rs:

tracing-android

Composable tracing layer which logs to logcat using the Android NDK's __android_log_write function. The provided tag will be capped at 23 bytes. Logging events resulting in messages longer than 4000 bytes will result in multiple log lines in logcat. This avoids running into logcat's truncation behaviour.

Dependencies

~1.5MB
~22K SLoC