Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nextdns/nextdns
/ Errorf
Method
Errorf
host/log.go:15–15 ·
view source on GitHub ↗
(format string, a ...any)
Source
from the content-addressed store, hash-verified
13
Warningf(format string, a ...any)
14
Error(v ...any)
15
Errorf(format string, a ...any)
16
}
17
18
func
NewLogger(name string) (Logger, error) {
Callers
15
run
Function · 0.95
activation
Function · 0.65
listenAddr
Function · 0.65
cfg
Function · 0.65
Test_isLocalhostMode
Function · 0.65
SetDNS
Function · 0.65
queryWindowsEvents
Function · 0.65
SetDNS
Function · 0.65
ResetDNS
Function · 0.65
setupResolvconfConf
Function · 0.65
SetDNS
Function · 0.65
setDNS
Function · 0.65
Implementers
4
windowsLogger
host/log_windows.go
syslogLogger
host/log_syslog.go
macosLogger
host/log_darwin.go
consoleLogger
host/log_console.go
Calls
no outgoing calls
Tested by
15
Test_isLocalhostMode
Function · 0.52
Test_splitInlineComment
Function · 0.52
Test_LoadConfig_stripsInlineComment
Function · 0.52
Test_SaveConfig_preservesFullLineComments
Function · 0.52
Test_SaveConfig_preservesInlineComment
Function · 0.52
Test_SaveConfig_preservesKeyOrder
Function · 0.52
Test_SaveConfig_newKeysAppendedAlphabetically
Function · 0.52
Test_SaveConfig_removedListValueCommentedOut
Function · 0.52
Test_SaveConfig_trailingCommentsPreserved
Function · 0.52
Test_SaveConfig_blankLineBetweenCommentAndKey
Function · 0.52
Test_SaveConfig_unknownOldKeyPreserved
Function · 0.52
Test_SaveConfig_noOldFile
Function · 0.52