DefaultLoggingFilter

uk.gov.hmrc.play.bootstrap.filters.DefaultLoggingFilter
class DefaultLoggingFilter(config: ControllerConfigs)(implicit val mat: Materializer, val ec: ExecutionContext) extends LoggingFilter

Attributes

Graph
Supertypes
trait Filter
trait EssentialFilter
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def controllerNeedsLogging(controllerName: String): Boolean

Attributes

Definition Classes

Inherited methods

def apply(next: RequestHeader => Future[Result])(rh: RequestHeader): Future[Result]

Apply the filter, given the request header and a function to call the next operation.

Apply the filter, given the request header and a function to call the next operation.

Value parameters

f

A function to call the next operation. Call this to continue normally with the current request. You do not need to call this function if you want to generate a result in a different way.

rh

The RequestHeader.

Attributes

Inherited from:
LoggingFilter
def apply(next: EssentialAction): EssentialAction

Attributes

Inherited from:
Filter
def asJava: EssentialFilter

Attributes

Inherited from:
EssentialFilter
protected def logger: LoggerLike

Attributes

Inherited from:
LoggingFilter

Inherited fields

val now: () => Long

Attributes

Inherited from:
LoggingFilter

Implicits

Implicits

implicit val ec: ExecutionContext
implicit override val mat: Materializer