final class Arguments extends AnyVal

This is the representation of arguments in an SLF4J logging statement. It is used to prevent the use of varadic arguments in the SLF4J API, which is a problem for type safety and also causes problems with : _* type ascryption and confused IDEs.

Arguments present as an immutable API, which can be composed together using + and ++ for sequences.

val argsA: Arguments = Arguments("a", 1)
val argsPlus: Arguments = argsA + true
Source
Argument.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Arguments
  2. AnyVal
  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 Arguments(elements: Array[Argument])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +[T](instance: T)(implicit arg0: ToArgument[T]): Arguments
  4. def ->[B](y: B): (Arguments, B)
    Implicit
    This member is added by an implicit conversion from Arguments toArrowAssoc[Arguments] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def add[T](instance: T)(implicit arg0: ToArgument[T]): Arguments
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def ensuring(cond: (Arguments) => Boolean, msg: => Any): Arguments
    Implicit
    This member is added by an implicit conversion from Arguments toEnsuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Arguments) => Boolean): Arguments
    Implicit
    This member is added by an implicit conversion from Arguments toEnsuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): Arguments
    Implicit
    This member is added by an implicit conversion from Arguments toEnsuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Arguments
    Implicit
    This member is added by an implicit conversion from Arguments toEnsuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Arguments toStringFormat[Arguments] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  14. def isEmpty: Boolean
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def nonEmpty: Boolean
  17. def placeholders: String
  18. def size: Int
  19. def toArray: Array[Any]
  20. def toSeq: Seq[Any]
  21. def toString(): String
    Definition Classes
    Any

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Arguments toany2stringadd[Arguments] 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:
    (arguments: any2stringadd[Arguments]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def [B](y: B): (Arguments, B)
    Implicit
    This member is added by an implicit conversion from Arguments toArrowAssoc[Arguments] 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 AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd fromArguments to any2stringadd[Arguments]

Inherited by implicit conversion StringFormat fromArguments to StringFormat[Arguments]

Inherited by implicit conversion Ensuring fromArguments to Ensuring[Arguments]

Inherited by implicit conversion ArrowAssoc fromArguments to ArrowAssoc[Arguments]

Ungrouped