rust-lang / log

Logging implementation for Rust
https://docs.rs/log
Apache License 2.0
2.12k stars 248 forks source link

Check usage of max_level features #627

Closed Thomasdezeeuw closed 3 months ago

Thomasdezeeuw commented 3 months ago

With this change log will to fail to compile if two or more (release_)maxlevel* features are used.

Closes #481

Thomasdezeeuw commented 3 months ago

Well, at least we know it works: https://github.com/rust-lang/log/actions/runs/8500090037/job/23281579006?pr=627#step:6:51, but accepting this means --all-features won't work any more.