https://github.com/wcampbell0x2a/privacy-log
rust-lang/log without file names and line
https://github.com/wcampbell0x2a/privacy-log
log privacy rust
Last synced: 8 months ago
JSON representation
rust-lang/log without file names and line
- Host: GitHub
- URL: https://github.com/wcampbell0x2a/privacy-log
- Owner: wcampbell0x2a
- Created: 2024-08-01T23:27:28.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-20T02:01:15.000Z (over 1 year ago)
- Last Synced: 2025-02-01T22:21:49.363Z (over 1 year ago)
- Topics: log, privacy, rust
- Language: Rust
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# privacy-log
[
](https://github.com/wcampbell0x2a/privacy-log)
[
](https://crates.io/crates/privacy-log)
[
](https://docs.rs/privacy-log)
[
](https://github.com/wcampbell0x2a/privacy-log/actions?query=branch%3Amaster)
[rust-lang/log](https://github.com/rust-lang/log), but without file names and line information.
## Usage
### In libraries
* The `privacy-log` macros *still* uses `log` 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` with `privacy-log`.
### In executables
* The `privacy-log` macros *still* uses `log` 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` with `privacy-log`.
## Compile Time Filters
After adding `log`, you may set [Compile Time Filters](https://docs.rs/log/latest/log/#compile-time-filters) to further limit output for different profiles.
## Other Differences
* No support for `kv` feature