MCPcopy Create free account
hub / github.com/google/pprof / PrintErr

Method PrintErr

internal/plugin/plugin.go:192–192  ·  view source on GitHub ↗

PrintErr shows an error message to the user. It formats the text as fmt.Print would and adds a final \n if not already present. For line-based UI, PrintErr writes to standard error.

(...interface{})

Source from the content-addressed store, hash-verified

190 // It formats the text as fmt.Print would and adds a final \n if not already present.
191 // For line-based UI, PrintErr writes to standard error.
192 PrintErr(...interface{})
193
194 // IsTerminal returns whether the UI is known to be tied to an
195 // interactive terminal (as opposed to being redirected to a file).

Callers

nothing calls this directly

Implementers 4

readlineUIpprof.go
TestUIinternal/proftest/proftest.go
stdUIinternal/driver/options.go
testUIbrowsertests/testutils.go

Calls

no outgoing calls

Tested by

no test coverage detected