Set Go Slog Levels with an Environment Variable (playtechnique.io) 2 points by gwynforthewyn 1y ago ↗ HN
[–] gwynforthewyn 1y ago ↗ I 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
1 comment
[ 4.2 ms ] story [ 10.2 ms ] thread