visedriver/config/reporter_noop.go

17 lines
317 B
Go
Raw Normal View History

2025-01-20 10:07:28 +01:00
//go:build !configreport
package config
import (
"git.defalsify.org/vise.git/logging"
)
type Reporter struct{}
func NewReporter(logger logging.Vanilla) *Reporter {
return &Reporter{}
}
func (r *Reporter) AddValue(key string, valueFn func() string, sensitive bool) {}
func (r *Reporter) Report(level string) {}