Skip to content

Commit

Permalink
Merge pull request #607 from blmeadows/remove-prescriptive-routes-logger
Browse files Browse the repository at this point in the history
  • Loading branch information
zarthross authored Sep 5, 2022
2 parents 7cb28f7 + 92b1130 commit 17f4c91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/main/scala/org/http4s/rho/RhoRoutes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package rho
import scala.collection.immutable.Seq
import cats._
import org.http4s.rho.bits.PathAST.TypedPath
import org.log4s.getLogger
import shapeless.{HList, HNil}

/** Constructor class for defining routes
Expand All @@ -29,9 +28,7 @@ class RhoRoutes[F[_]: Monad](routes: Seq[RhoRoute[F, _ <: HList]] = Vector.empty
with RoutePrependable[F, RhoRoutes[F]]
with RhoDsl[F] {
final private val routesBuilder = RoutesBuilder[F](routes)

final protected val logger = getLogger


final implicit protected def compileRoutes: CompileRoutes[F, RhoRoute.Tpe[F]] = routesBuilder

/** Create a new [[RhoRoutes]] by appending the routes of the passed [[RhoRoutes]]
Expand Down

0 comments on commit 17f4c91

Please sign in to comment.