TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Set Go Slog Levels with an Environment Variable
2 点
作者
gwynforthewyn
9 个月前
1 comment
gwynforthewyn
9 个月前
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