youlog
A thin logging implementation for Rust's log facade.
This crate allows for providing custom functions to the logger.
Examples where this might be useful:
- Logging logic needs to be different across log levels
- Another application's logger is being used like with godot-rust
- An existing crate is too opinionated in how it handles logging
Example
use LevelFilter;
use Builder;
new
.global_level
.log_fn
.init
.expect;
info!;
Status
Module level filters are still WIP, but those can just be implemented in a logging function anyways :)
License
MPL-2.0