go-log/discard_router.go

17 lines
239 B
Go

package flog
func NewDiscardRouter() *DiscardRouter {
router := DiscardRouter{}
return &router
}
type DiscardRouter struct{}
func (router *DiscardRouter) Route(message string, context map[string]interface{}) error {
return nil
}