We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
any
interface{}
1 parent 74172ea commit c5b72ddCopy full SHA for c5b72dd
internal/log/log.go
@@ -29,7 +29,7 @@ const (
29
)
30
31
// Logf formats a log entry to systemd's journald.
32
-func Logf(priority Priority, format string, a ...interface{}) {
+func Logf(priority Priority, format string, a ...any) {
33
err := journal.Print(journal.Priority(priority), format, a...)
34
if err != nil {
35
panic(fmt.Errorf("could not log: %w", err))
0 commit comments