Decision Workspace
ohos_hilog vs android_logger vs env_filter
Side-by-side comparison of Rust crates
43
ohos_hilog
growingv0.1.3
A logging implementation for `log` which hooks to ohos hilog output.
61
android_logger
growingv0.15.1
A logging implementation for `log` which hooks to android log output.
76
env_filter
stablev2.0.0
Filter log events using environment variables
Core Metrics
| ohos_hilog | android_logger | env_filter | |
|---|---|---|---|
| Health Score | 43 | 61 | 76 |
| Total Downloads | 11.5K | 21.7M | 158.9M |
| 30d Downloads | 3.9K | 778.8K | 8.7M |
| Dependents | 55 | 1.6K | 521 |
| Releases | 4 | 38 | 8 |
| Last Updated | 579d ago | 379d ago | 18d ago |
| Age | 2y 5m | 10y 4m | 2y 5m |
Health Breakdown
ohos_hilog
Maintenance
4
Quality
16
Community
10
Popularity
5
Documentation
8
android_logger
Maintenance
8
Quality
16
Community
19
Popularity
8
Documentation
10
env_filter
Maintenance
20
Quality
19
Community
17
Popularity
8
Documentation
12
Technical Details
| ohos_hilog | android_logger | env_filter | |
|---|---|---|---|
| Version | 0.1.3 | 0.15.1 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 3 |
| Crate Size | 12KB | 18KB | 15KB |
| Features | 2 | 3 | 3 |
| Yanked % | 0.0% | 2.6% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | — | 1.71 |
| Owners | 1 | 5 | 2 (team) |
Links
Quick Verdict
- •env_filter leads with a health score of 76/100, but none of the options score above 80.
- •android_logger is depended on by 1.6K crates — strongest ecosystem trust.
- •⚠ ohos_hilog, android_logger have not been updated in over a year.
- •ohos_hilog, android_logger are pre-1.0 — API may change.