final class Markers extends AnyRef

This class represents the markers that are associated with the logging statement.

Normally this is used in a ToArgument type class instance, and you should not have to use it in a logging statement directly.

Markers represents all added org.slf4j.Marker instances together in an immutable Set, and only at the end wrapped into a marker with markers.marker. This generated marker uses the internal hashcode and contains all the markers in the set as direct children.

val markers: Markers = Markers(marker)

Markers does not directly use the SLF4J marker API, as directly mutating markers together as "child references" so that only one marker is available is generally unsafe.

Source
Markers.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Markers
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Markers(internal: Set[Marker])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +[T](elem: T)(implicit arg0: ToMarkers[T]): Markers
  4. def -[T](elem: T)(implicit arg0: ToMarkers[T]): Markers
  5. def ->[B](y: B): (Markers, B)
    Implicit
    This member is added by an implicit conversion from Markers toArrowAssoc[Markers] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def contains(elem: Marker): Boolean
  10. def ensuring(cond: (Markers) => Boolean, msg: => Any): Markers
    Implicit
    This member is added by an implicit conversion from Markers toEnsuring[Markers] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Markers) => Boolean): Markers
    Implicit
    This member is added by an implicit conversion from Markers toEnsuring[Markers] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): Markers
    Implicit
    This member is added by an implicit conversion from Markers toEnsuring[Markers] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Markers
    Implicit
    This member is added by an implicit conversion from Markers toEnsuring[Markers] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Markers toStringFormat[Markers] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def isEmpty: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def iterator: Iterator[Marker]
  22. lazy val marker: Marker
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def nonEmpty: Boolean
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def size: Int
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toStatement: Statement
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Markers toany2stringadd[Markers] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (markers: any2stringadd[Markers]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (Markers, B)
    Implicit
    This member is added by an implicit conversion from Markers toArrowAssoc[Markers] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromMarkers to any2stringadd[Markers]

Inherited by implicit conversion StringFormat fromMarkers to StringFormat[Markers]

Inherited by implicit conversion Ensuring fromMarkers to Ensuring[Markers]

Inherited by implicit conversion ArrowAssoc fromMarkers to ArrowAssoc[Markers]

Ungrouped