// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT

package mdns

import "errors"

var (
	errJoiningMulticastGroup = errors.New("mDNS: failed to join multicast group")
	errConnectionClosed      = errors.New("mDNS: connection is closed")
	errContextElapsed        = errors.New("mDNS: context has elapsed")
	errNilConfig             = errors.New("mDNS: config must not be nil")
	errFailedCast            = errors.New("mDNS: failed to cast listener to UDPAddr")
)

type Logger interface {
	Println(f string, v ...any)
}

type logger struct{}

func (l *logger) Println(_ string, _ ...any) {
	return
}
