An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# privacy-log
[github](https://github.com/wcampbell0x2a/privacy-log)
[crates.io](https://crates.io/crates/privacy-log)
[docs.rs](https://docs.rs/privacy-log)
[build status](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