dnsutil

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Error(tag, msg string, args ...interface{})
	Info(tag, msg string, args ...interface{})
	Debug(tag, msg string, args ...interface{})
}

type PrefixedLogger

type PrefixedLogger struct {
	// contains filtered or unexported fields
}

func NewMsgPrefixedLogger

func NewMsgPrefixedLogger(msg *dns.Msg, logger Logger) PrefixedLogger

func NewPrefixedLogger

func NewPrefixedLogger(prefix string, logger Logger) PrefixedLogger

func (PrefixedLogger) Debug

func (l PrefixedLogger) Debug(tag, msg string, args ...interface{})

func (PrefixedLogger) Error

func (l PrefixedLogger) Error(tag, msg string, args ...interface{})

func (PrefixedLogger) Info

func (l PrefixedLogger) Info(tag, msg string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL