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

Method PrintErr

driver/driver.go:220–220  ·  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

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

Callers 15

awayFromTTYFunction · 0.65
compileTagFilterFunction · 0.65
warnNoMatchesFunction · 0.65
fetchProfilesFunction · 0.65
grabSourcesAndBasesFunction · 0.65
concurrentGrabFunction · 0.65
setTmpDirFunction · 0.65
locateBinariesFunction · 0.65
PrintErrMethod · 0.65
openBrowserFunction · 0.65
makeReportMethod · 0.65
renderMethod · 0.65

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