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

Method Get

buffer_pool.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func (p *defaultPool) Get() *bytes.Buffer {
26 return p.pool.Get().(*bytes.Buffer)
27}
28
29// SetBufferPool allows to replace the default logrus buffer pool
30// to better meets the specific needs of an application.

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected