MCPcopy Create free account
hub / github.com/AdRoll/baker / SetWriter

Method SetWriter

stats.go:49–49  ·  view source on GitHub ↗

SetWriter sets the writer into which stats are written. SetWriter must be called before Run().

(w io.Writer)

Source from the content-addressed store, hash-verified

47// SetWriter sets the writer into which stats are written.
48// SetWriter must be called before Run().
49func (sd *StatsDumper) SetWriter(w io.Writer) { sd.w = w }
50
51func (sd *StatsDumper) dumpNow() {
52 sd.lock.Lock()

Callers 2

TestStatsDumperFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestStatsDumperFunction · 0.76