Class/Object

com.tersesystems.blindsight

Arguments

Related Docs: object Arguments | package blindsight

Permalink

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. All

Instance Constructors

  1. new Arguments(elements: Array[Argument])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def +[T](instance: T)(implicit arg0: ToArgument[T]): Arguments

    Permalink
  4. def ->[B](y: B): (Arguments, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to ArrowAssoc[Arguments] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def add[T](instance: T)(implicit arg0: ToArgument[T]): Arguments

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def ensuring(cond: (Arguments) ⇒ Boolean, msg: ⇒ Any): Arguments

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to Ensuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Arguments) ⇒ Boolean): Arguments

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to Ensuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Arguments

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to Ensuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Arguments

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to Ensuring[Arguments] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to StringFormat[Arguments] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  14. def isEmpty: Boolean

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def nonEmpty: Boolean

    Permalink
  17. def placeholders: String

    Permalink
  18. def size: Int

    Permalink
  19. def toArray: Array[Any]

    Permalink
  20. def toSeq: Seq[Any]

    Permalink
  21. def toString(): String

    Permalink
    Definition Classes
    Any
  22. def [B](y: B): (Arguments, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to ArrowAssoc[Arguments] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Arguments to any2stringadd[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

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from Arguments to any2stringadd[Arguments]

Inherited by implicit conversion StringFormat from Arguments to StringFormat[Arguments]

Inherited by implicit conversion Ensuring from Arguments to Ensuring[Arguments]

Inherited by implicit conversion ArrowAssoc from Arguments to ArrowAssoc[Arguments]

Ungrouped