build_log 0.1.0

Colored logging macros for Rust build scripts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# build_log

Colored logging macros for Cargo build scripts.

## Example

```rust
use build_log as log;

fn main() {
    log::info!("starting build step");
    log::warning!("using fallback configuration");
}
```

If `DBG_PRINT=1` is present in the environment, the macros emit `cargo:warning=` lines so the messages stay visible in Cargo build output.