status-go/vendor/github.com/anacrolix/go-libutp/logging.go

12 lines
243 B
Go
Raw Normal View History

2022-03-10 09:44:48 +00:00
package utp
import "github.com/anacrolix/log"
const (
logCallbacks = false
utpLogging = false
)
// The default Socket Logger. Override per Socket by using WithLogger with NewSocket.
var Logger = log.Default.WithContextText("go-libutp")