MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / Reset

Method Reset

pkg/api/testutils/mocks.go:280–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278}
279
280func (l *TestLogger) Reset() {
281 l.mu.Lock()
282 defer l.mu.Unlock()
283 l.DebugMessages = nil
284 l.InfoMessages = nil
285 l.ErrorMessages = nil
286}
287
288// NewTestLogger creates a new test logger.
289func NewTestLogger() *TestLogger {

Callers 2

TestLogger_LogLevelsFunction · 0.80
splitTemplateMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestLogger_LogLevelsFunction · 0.64