# Simple Logger new

In order to use the [simple_logger](https://crates.io/crates/simple-logger) crate we need to add that and [log](https://crates.io/crates/log) to `Cargo.toml`

{% embed include file="src/examples/logging/simple_logger_new/Cargo.toml" %}

{% embed include file="src/examples/logging/simple_logger_new/src/main.rs" %}

By default it print out all the log levels.

{% embed include file="src/examples/logging/simple_logger_new/out.out" %}


