privacy-log
rust-lang/log, but without file names and line information.
Usage
In libraries
- The
privacy-logmacros still usesloginternals, you will need to$ cargo add logto use this crate. - Follow https://github.com/rust-lang/log?tab=readme-ov-file#in-libraries, but replace
logwithprivacy-log.
In executables
- The
privacy-logmacros still usesloginternals, you will need to$ cargo add logto use this crate. - Follow https://github.com/rust-lang/log?tab=readme-ov-file#in-executables, but replace
logwithprivacy-log.
Compile Time Filters
After adding log, you may set Compile Time Filters to further limit output for different profiles.
Other Differences
- No support for
kvfeature