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
| 121 | // logger := &interfaces.NoOpLogger{} |
| 122 | // client := api.NewClient(config, api.WithLogger(logger)) |
| 123 | type NoOpLogger struct{} |
| 124 | |
| 125 | // Debug discards the debug message. |
| 126 | func (n *NoOpLogger) Debug(format string, args ...interface{}) {} |
nothing calls this directly
no outgoing calls
no test coverage detected