| Crates.io | typed_log |
| lib.rs | typed_log |
| version | 0.1.1 |
| created_at | 2025-08-05 20:07:01.812766+00 |
| updated_at | 2025-08-07 12:43:32.350907+00 |
| description | Logging shouldn't be limited to text. |
| homepage | |
| repository | https://github.com/Vrixyz/typed_log |
| max_upload_size | |
| id | 1782927 |
| size | 20,692 |
When making a library, an author knows what information make sense to log. Often, that information is typed.
Rust's log facade is forcing Rust's users to use a text format for logging.
While text works to convey information, it may not be the best way to do so.
Tools like Sentry enable you to use those text logs quite comfortably, but advanced logging visualization requires custom approaches, often involving expensive an error-prone text deserialization.
Rerun logging for a geometry crate for example, could help with understanding algorithms, or track bugs more easily.
This crate offers an alternative approach to logging, where library author is in charge of what makes sense to log, and users are in charge on how to log it.
This crate is very WIP, do not use, but! it may very well have more features at some point: