play.api.MarkerContext
See theMarkerContext companion object
trait MarkerContext
A MarkerContext trait, to provide easy access to org.slf4j.Marker in Logger API. This is usually accessed with a marker through an implicit conversion from a Marker.
implicit val markerContext: MarkerContext = org.slf4j.MarkerFactory.getMarker("EXAMPLEMARKER")
log.error("This message will be logged with the EXAMPLEMARKER marker")
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DefaultMarkerContextobject SecurityMarkerContext
Members list
In this article