Re:Build It Yourself
by petecorreia on Friday January 24, 2025 @08:55AM
(#42813032)
Go's vast standard library helps a lot with keeping dependency numbers down
[ Parent
| on HN ]
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
The built-in "logging" in Go is barely more than a fancy Println. For example, where are the levels, like DEBUG and WARN?