4 ms·
Exactly this. You want logging in Rust? You will need at least `log` and another logger crate, for example `env_logger`, maybe the `dotenvy` crate to read `.env
by lionkor 2y ago
Exactly this. You want logging in Rust? You will need at least `log` and another logger crate, for example `env_logger`, maybe the `dotenvy` crate to read `.env` files automatically, you already have 3 direct dependencies + all the transitive ones.
In Go: https://pkg.go.dev/log https://pkg.go.dev/log
- LinXitoW 2y agoThe built-in "logging" in Go is barely more than a fancy Println. For example, where are the levels, like DEBUG and WARN?