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

Function getLastLine

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

Source from the content-addressed store, hash-verified

33}
34
35func getLastLine(backend *MemoryBackend) string {
36 return MemoryRecordN(backend, 0).Formatted(1)
37}
38
39func realFunc(backend *MemoryBackend) string {
40 return logAndGetLine(backend)

Callers 1

TestBackendFormatterFunction · 0.85

Calls 2

MemoryRecordNFunction · 0.85
FormattedMethod · 0.80

Tested by

no test coverage detected