| Crates.io | call_logger |
| lib.rs | call_logger |
| version | 0.6.5 |
| created_at | 2023-03-07 00:07:15.198116+00 |
| updated_at | 2025-09-22 23:26:49.030886+00 |
| description | A logger that calls another application for every logged item |
| homepage | https://github.com/a1ecbr0wn/call_logger |
| repository | https://github.com/a1ecbr0wn/call_logger |
| max_upload_size | |
| id | 803109 |
| size | 106,474 |
A logger that calls another application, script or URL for every logged item, passing a formatted string that contains the details of the log event.
Use of the builder model to set up the logger to call a script called store_log:
use call_logger::CallLogger;
use log::LevelFilter;
fn main() {
let _ = CallLogger::new()
.with_level(LevelFilter::Info)
.with_call_target("store_log".to_string())
.with_local_timestamp()
.init();
log::info!("Hello logging world")
}
timestamps - add a timestamp to the outputThis is just a general purpose logger that calls out to another process. If you have any ideas for missing features, please raise an issue or a PR.