MCPcopy
hub / github.com/op/go-logging / Log

Method Log

format_test.go:45–47  ·  view source on GitHub ↗
(backend *MemoryBackend)

Source from the content-addressed store, hash-verified

43type structFunc struct{}
44
45func (structFunc) Log(backend *MemoryBackend) string {
46 return logAndGetLine(backend)
47}
48
49func TestRealFuncFormat(t *testing.T) {
50 backend := InitForTesting(DEBUG)

Callers 1

TestStructFuncFormatFunction · 0.95

Calls 1

logAndGetLineFunction · 0.85

Tested by

no test coverage detected