func (r *RenameTagRule) WithLogger(logger *log.Logger) {
	r.logger = logger
}
WithLogger implements Rule interface
package rules
import (
	"log"
	"github.com/Abc-Arbitrage/infix/logging"
	"github.com/influxdata/influxdb/models"
	"github.com/influxdata/influxdb/tsdb/engine/tsm1"
	"github.com/Abc-Arbitrage/infix/filter"
	"github.com/Abc-Arbitrage/infix/storage"
)
type RenameTagRule struct {
	measurementFilter filter.Filter
	tagFilter         filter.Filter
	check    bool
	renameFn RenameFn
	logger *log.Logger
}
type RenameTagRuleConfig struct {
	Measurement filter.Filter
	Tag         filter.Filter
	To          string
}
func NewRenameTagRule(measurementFilter filter.Filter, tagFilter filter.Filter, renameFn RenameFn) *RenameTagRule {
	return &RenameTagRule{
		measurementFilter: filter.NewMeasurementFilter(measurementFilter),
		tagFilter:         tagFilter,
		check:             false,
		renameFn:          renameFn,
		logger:            logging.GetLogger("RenameTagRule"),
	}
}
func (r *RenameTagRule) CheckMode(check bool) {
	r.check = check
}
func (r *RenameTagRule) Flags() int {
	return Standard
}