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

Function logAndGetLine

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

Source from the content-addressed store, hash-verified

28}
29
30func logAndGetLine(backend *MemoryBackend) string {
31 MustGetLogger("foo").Debug("hello")
32 return MemoryRecordN(backend, 0).Formatted(1)
33}
34
35func getLastLine(backend *MemoryBackend) string {
36 return MemoryRecordN(backend, 0).Formatted(1)

Callers 3

realFuncFunction · 0.85
LogMethod · 0.85
TestVarFuncFormatFunction · 0.85

Calls 4

MustGetLoggerFunction · 0.85
MemoryRecordNFunction · 0.85
DebugMethod · 0.80
FormattedMethod · 0.80

Tested by

no test coverage detected