MCPcopy
hub / github.com/sirupsen/logrus / String

Method String

writer_test.go:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (b *bufferWithMu) String() string {
63 b.mu.RLock()
64 defer b.mu.RUnlock()
65 return b.buf.String()
66}
67
68func TestWriterSplitNewlines(t *testing.T) {
69 buf := &bufferWithMu{

Callers 2

TestWriterSplitNewlinesFunction · 0.95
TestWriterSplitsMax64KBFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected