Hacker News new | ask | show | jobs
by qzio 1399 days ago
Can you provide a link to this interface?

The log package in stdlib doesn’t let you specify levels, just a Printf unless Iam mistaken, and it is not an interface I believe.

1 comments

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