func (ml *MockRouteCountLogger) Counter(title string) {
	ml.logger.Counter(title)
}
Counter implements the method for the KayveeLogger interface.
package logger
import (
	"io"
	"gopkg.in/Clever/kayvee-go.v6/router"
)
type MockRouteCountLogger struct {
	logger       KayveeLogger
	routeMatches map[string][]router.RuleOutput
}
func (ml *MockRouteCountLogger) RuleCounts() map[string]int {
	out := make(map[string]int)
	for k, v := range ml.routeMatches {
		out[k] = len(v)
	}
	return out
}
func (ml *MockRouteCountLogger) RuleOutputs() map[string][]router.RuleOutput {
	return ml.routeMatches
}
func NewMockCountLogger(source string) *MockRouteCountLogger {
	return NewMockCountLoggerWithContext(source, nil)
}
func NewMockCountLoggerWithContext(source string, contextValues map[string]interface{}) *MockRouteCountLogger {
	routeMatches := make(map[string][]router.RuleOutput)
	lg := NewWithContext(source, contextValues)
	lg.setFormatLogger(&routeCountingFormatLogger{
		routeMatches: routeMatches,
	})
	mocklg := MockRouteCountLogger{
		logger:       lg,
		routeMatches: routeMatches,
	}
	return &mocklg
}
type routeCountingFormatLogger struct {
	routeMatches map[string][]router.RuleOutput
}
func (fl *routeCountingFormatLogger) formatAndLog(data map[string]interface{}) {
	routeData, ok := data["_kvmeta"]
	if !ok {
		return
	}
	routes, ok := routeData.(map[string]interface{})["routes"]
	if !ok {
		return
	}
	for _, route := range routes.([]map[string]interface{}) {
		rule := route["rule"].(string)
		fl.routeMatches[rule] = append(fl.routeMatches[rule], route)
	}
}
func (fl *routeCountingFormatLogger) setFormatter(formatter Formatter) {
	return
}
func (fl *routeCountingFormatLogger) setOutput(output io.Writer) {
	return
}
func (ml *MockRouteCountLogger) SetConfig(source string, logLvl LogLevel, formatter Formatter, output io.Writer) {
	ml.logger.SetConfig(source, logLvl, formatter, output)
}
func (ml *MockRouteCountLogger) AddContext(key, val string) {
	ml.logger.AddContext(key, val)
}
func (ml *MockRouteCountLogger) GetContext(key string) (interface{}, bool) {
	return ml.logger.GetContext(key)
}
func (ml *MockRouteCountLogger) SetLogLevel(logLvl LogLevel) {
	ml.logger.SetLogLevel(logLvl)
}
func (ml *MockRouteCountLogger) SetFormatter(formatter Formatter) {
	ml.logger.SetFormatter(formatter)
}
func (ml *MockRouteCountLogger) SetOutput(output io.Writer) {
	ml.logger.SetOutput(output)
}
func (ml *MockRouteCountLogger) setFormatLogger(output formatLogger) {
	return  
}
func (ml *MockRouteCountLogger) SetRouter(router router.Router) {
	ml.logger.SetRouter(router)
}
func (ml *MockRouteCountLogger) Debug(title string) {
	ml.logger.Debug(title)
}
func (ml *MockRouteCountLogger) Info(title string) {
	ml.logger.Info(title)
}
func (ml *MockRouteCountLogger) Warn(title string) {
	ml.logger.Warn(title)
}
func (ml *MockRouteCountLogger) Error(title string) {
	ml.logger.Error(title)
}
func (ml *MockRouteCountLogger) Critical(title string) {
	ml.logger.Critical(title)
}