2 releases
0.1.1 | Aug 2, 2024 |
---|---|
0.1.0 | Aug 1, 2024 |
#13 in #names
9KB
68 lines
privacy-log
rust-lang/log, but without file names and line information.
Usage
In libraries
- The
privacy-log
macros still useslog
internals, you will need to$ cargo add log
to use this crate. - Follow https://github.com/rust-lang/log?tab=readme-ov-file#in-libraries, but replace
log
withprivacy-log
.
In executables
- The
privacy-log
macros still useslog
internals, you will need to$ cargo add log
to use this crate. - Follow https://github.com/rust-lang/log?tab=readme-ov-file#in-executables, but replace
log
withprivacy-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
kv
feature
Dependencies
~87KB