Hacker News new | ask | show | jobs
by gabereiser 1408 days ago
Ah, it's not an interface but a struct. My mistake. The syslog part of the log package allows you to specify the priority. https://pkg.go.dev/log/syslog@go1.19#Priority