package testsuite import ( "testing" "forge.cadoles.com/cadoles/go-emlid/reach/client/logger" ) type Logger struct { t *testing.T } // Debug implements logger.Logger. func (l *Logger) Debug(msg string, args ...any) { l.t.Logf(msg, args...) } // Error implements logger.Logger. func (l *Logger) Error(msg string, args ...any) { l.t.Logf(msg, args...) } // Info implements logger.Logger. func (l *Logger) Info(msg string, args ...any) { l.t.Logf(msg, args...) } // Warn implements logger.Logger. func (l *Logger) Warn(msg string, args ...any) { l.t.Logf(msg, args...) } func NewLogger(t *testing.T) *Logger { return &Logger{t} } var _ logger.Logger = &Logger{}