TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Set Go Slog Levels with an Environment Variable
2 points
by
gwynforthewyn
9 months ago
1 comment
gwynforthewyn
9 months 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