MCPcopy
hub / github.com/nextdns/nextdns / Logger

Interface Logger

host/log.go:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5)
6
7type Logger interface {
8 Debug(v ...any)
9 Debugf(format string, a ...any)
10 Info(v ...any)
11 Infof(format string, a ...any)
12 Warning(v ...any)
13 Warningf(format string, a ...any)
14 Error(v ...any)
15 Errorf(format string, a ...any)
16}
17
18func NewLogger(name string) (Logger, error) {
19 if service.CurrentRunMode() == service.RunModeService {

Callers 37

nextdnsEndpointManagerFunction · 0.65
DebugMethod · 0.65
DebugfMethod · 0.65
runFunction · 0.95
LogMethod · 0.65
DebugMethod · 0.65
DebugfMethod · 0.65
InfoMethod · 0.65
InfofMethod · 0.65
runFunction · 0.95
StartMethod · 0.65
RestartMethod · 0.65

Implementers 4

windowsLoggerhost/log_windows.go
syslogLoggerhost/log_syslog.go
macosLoggerhost/log_darwin.go
consoleLoggerhost/log_console.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…