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

Struct NoOpLogger

pkg/api/interfaces/interfaces.go:123–123  ·  view source on GitHub ↗

NoOpLogger is a logger implementation that discards all log messages. This is useful for testing scenarios where you want to suppress log output, or for production deployments where logging is handled elsewhere. Example usage: logger := &interfaces.NoOpLogger{} client := api.NewClient(config, a

Source from the content-addressed store, hash-verified

121// logger := &interfaces.NoOpLogger{}
122// client := api.NewClient(config, api.WithLogger(logger))
123type NoOpLogger struct{}
124
125// Debug discards the debug message.
126func (n *NoOpLogger) Debug(format string, args ...interface{}) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected