MCPcopy
hub / github.com/tailscale/tailscale / logf

Method logf

tsnet/tsnet.go:1094–1103  ·  view source on GitHub ↗
(format string, a ...any)

Source from the content-addressed store, hash-verified

1092}
1093
1094func (s *Server) logf(format string, a ...any) {
1095 if s.logtail != nil {
1096 s.logtail.Logf(format, a...)
1097 }
1098 if s.UserLogf != nil {
1099 s.UserLogf(format, a...)
1100 return
1101 }
1102 log.Printf(format, a...)
1103}
1104
1105// printAuthURLLoop loops once every few seconds while the server is still running and
1106// is in NeedsLogin state, printing out the auth URL.

Callers 15

LoopbackMethod · 0.95
startMethod · 0.95
printAuthURLLoopMethod · 0.95
ShutdownMethod · 0.95
requireTailscaleIPMethod · 0.95
serveGetNodeDataMethod · 0.95
tailscaleUpMethod · 0.95
serveTailscaleUpMethod · 0.95
AcceptMethod · 0.95
debugLogfMethod · 0.95

Calls 2

PrintfMethod · 0.80
LogfMethod · 0.65

Tested by 1

TestSynchronizationFunction · 0.36