3 ms·
Set Go Slog Levels with an Environment Variable
- gwynforthewyn 2y agoI want to set log levels using an environment variable. It's easy, but I find the go slog docs a little hard to follow, so I put together a simple example for my future reference