LowPriorityMarkerContextImplicits

play.api.LowPriorityMarkerContextImplicits

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MarkerContext

Members list

Implicits

Implicits

implicit val NoMarker: MarkerContext

A MarkerContext that returns None. This is used as the "default" marker context if no implicit MarkerContext is found in local scope (meaning there is nothing defined through import or "implicit val").

A MarkerContext that returns None. This is used as the "default" marker context if no implicit MarkerContext is found in local scope (meaning there is nothing defined through import or "implicit val").

Attributes

implicit def markerToMarkerContext(marker: Marker): MarkerContext

Enables conversion from a marker to a MarkerContext:

Enables conversion from a marker to a MarkerContext:

val mc: MarkerContext = MarkerFactory.getMarker("SOMEMARKER")

Value parameters

marker

the SLF4J marker to convert

Attributes

Returns

the result of MarkerContext.apply(marker)