7 releases

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

#580 in Debugging

Download history 3503/week @ 2023-12-04 3535/week @ 2023-12-11 4241/week @ 2023-12-18 944/week @ 2023-12-25 3528/week @ 2024-01-01 4037/week @ 2024-01-08 4656/week @ 2024-01-15 4509/week @ 2024-01-22 7313/week @ 2024-01-29 4292/week @ 2024-02-05 4992/week @ 2024-02-12 5261/week @ 2024-02-19 4978/week @ 2024-02-26 5785/week @ 2024-03-04 4855/week @ 2024-03-11 3674/week @ 2024-03-18

19,351 downloads per month
Used in 5 crates (3 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
~23K SLoC