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

Function outln

cmd/tailscale/cli/cli.go:51–53  ·  view source on GitHub ↗

outln is like fmt.Println in the common case, except when Stdout is changed (as in js/wasm). It's not named println because that looks like the Go built-in which goes to stderr and formats slightly differently.

(a ...any)

Source from the content-addressed store, hash-verified

49// It's not named println because that looks like the Go built-in
50// which goes to stderr and formats slightly differently.
51func outln(a ...any) {
52 fmt.Fprintln(Stdout, a...)
53}
54
55func newFlagSet(name string) *flag.FlagSet {
56 onError := flag.ExitOnError

Callers 15

printPolicySettingsFunction · 0.85
runUpFunction · 0.85
printUpDoneJSONFunction · 0.85
runStatusFunction · 0.85
runFileGetFunction · 0.85
runPrefsFunction · 0.85
runEnvFunction · 0.85
runViaFunction · 0.85
runPingFunction · 0.85
printFunnelStatusFunction · 0.85
runIPFunction · 0.85
runLicensesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…