MCPcopy Index your code
hub / github.com/tinygo-org/tinygo / WriteTo

Method WriteTo

src/testing/testing.go:99–106  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

97}
98
99func (l *logger) WriteTo(w io.Writer) (int64, error) {
100 if l.logToStdout {
101 // We've already been logging to stdout; nothing to do.
102 return 0, nil
103 }
104 return l.b.WriteTo(w)
105
106}
107
108func (l *logger) Len() int {
109 return l.b.Len()

Callers 8

testErrorMessagesFunction · 0.45
runTestWithConfigFunction · 0.45
TestFunction · 0.45
printBuildOutputFunction · 0.45
handleCompilerErrorFunction · 0.45
mainFunction · 0.45
processBenchMethod · 0.45
flushToParentMethod · 0.45

Calls

no outgoing calls

Tested by 3

testErrorMessagesFunction · 0.36
runTestWithConfigFunction · 0.36
TestFunction · 0.36