func rawKafkaAdapter(route *router.Route) (router.LogAdapter, error) { route.Adapter = "kafkaraw+tcp" return kafkaraw.NewKafkaRawAdapter(route) }
func rawTCPAdapter(route *router.Route) (router.LogAdapter, error) { route.Adapter = "raw+tcp" return raw.NewRawAdapter(route) }
func rawUnixAdapter(route *router.Route) (router.LogAdapter, error) { route.Adapter = "raw+unix" return raw.NewRawAdapter(route) }