status-go/vendor/github.com/koron/go-ssdp/log.go

13 lines
190 B
Go
Raw Normal View History

2019-06-09 07:24:20 +00:00
package ssdp
import "log"
// Logger is default logger for SSDP module.
var Logger *log.Logger
func logf(s string, a ...interface{}) {
2021-10-19 13:43:41 +00:00
if l := Logger; l != nil {
l.Printf(s, a...)
2019-06-09 07:24:20 +00:00
}
}