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

13 lines
187 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{}) {
if Logger != nil {
Logger.Printf(s, a...)
}
}