Logging with log4rs

Dependencies

{% embed include file="src/examples/logging/try-log4rs/Cargo.toml" %}

The code:

{% embed include file="src/examples/logging/try-log4rs/src/main.rs" %}

The configuration

{% embed include file="src/examples/logging/try-log4rs/log4rs.yaml" %}

Standard output:

{% embed include file="src/examples/logging/try-log4rs/out.out" %}

The all.log file:

{% embed include file="src/examples/logging/try-log4rs/all.log" %}