MCPcopy Index your code
hub / github.com/tailscale/tailscale / debugLogf

Method debugLogf

derp/derpserver/derpserver.go:1064–1068  ·  view source on GitHub ↗
(format string, v ...any)

Source from the content-addressed store, hash-verified

1062}
1063
1064func (s *Server) debugLogf(format string, v ...any) {
1065 if s.debug {
1066 s.logf(format, v...)
1067 }
1068}
1069
1070// run serves the client until there's an error.
1071// If the client hangs up or the server is closed, run returns nil, otherwise run returns an error.

Callers 5

recordDropMethod · 0.95
registerClientMethod · 0.45
unregisterClientMethod · 0.45
sendPktMethod · 0.45

Calls 1

logfMethod · 0.95

Tested by

no test coverage detected