Companion object to Loggable. This is where the compiler can find the various given instances of Loggable[T].
Attributes
Members list
Type members
Classlikes
An abstract class that provides logging capability for Option values by extending the Loggable type class for Option[T].
An abstract class that provides logging capability for Option values by extending the Loggable type class for Option[T].
Type parameters
- T
-
the underlying type contained within the
Option.
Value parameters
- evidence
-
a context parameter ensuring a
Loggableinstance exists for typeT.
Attributes
- Supertypes
- Known subtypes
-
object given_LoggableOption_Intobject given_LoggableOption_String
Given instance of Loggable[Option[Int]].
Given instance of Loggable[Option[Int]].
Attributes
- Supertypes
- Self type
Given instance of Loggable[Option[String]].
Given instance of Loggable[Option[String]].
Attributes
- Supertypes
- Self type
Given instance of Loggable[BigDecimal]. Renders via toString.
Given instance of Loggable[BigDecimal]. Renders via toString.
Attributes
- Supertypes
- Self type
Given instance of Loggable[BigInt]. Renders via toString.
Given instance of Loggable[BigInt]. Renders via toString.
Attributes
- Supertypes
- Self type
Given instance of Loggable[Boolean]. Renders via toString.
Given instance of Loggable[Boolean]. Renders via toString.
Attributes
- Supertypes
- Self type
Given instance of Loggable[Byte]. Renders via toString.
Given instance of Loggable[Byte]. Renders via toString.
Attributes
- Supertypes
- Self type
-
given_Loggable_Byte.type
Given instance of Loggable[Double]. Renders via toString.
Given instance of Loggable[Double]. Renders via toString.
Attributes
- Supertypes
- Self type
Given instance of Loggable[Int]. Renders via toString.
Given instance of Loggable[Int]. Renders via toString.
Attributes
- Supertypes
- Self type
-
given_Loggable_Int.type
Given instance of Loggable[Long]. Renders via toString.
Given instance of Loggable[Long]. Renders via toString.
Attributes
- Supertypes
- Self type
-
given_Loggable_Long.type
Given instance of Loggable[Short]. Renders via toString.
Given instance of Loggable[Short]. Renders via toString.
Attributes
- Supertypes
- Self type
-
given_Loggable_Short.type
Given instance of Loggable[String]. Returns the string itself.
Given instance of Loggable[String]. Returns the string itself.
Attributes
- Supertypes
- Self type
Given instance of Loggable[Temporal]. Renders via toString.
Given instance of Loggable[Temporal]. Renders via toString.
Attributes
- Supertypes
- Self type
Given instance of Loggable[Unit]. Returns an empty string for any Unit value.
Given instance of Loggable[Unit]. Returns an empty string for any Unit value.
Attributes
- Supertypes
- Self type
-
given_Loggable_Unit.type
Value members
Concrete methods
Method to yield a Loggable[T] which depends only on the toString method. This method will be invoked explicitly where no other Loggable[T] is in scope. NOTE: kept as a plain def (not a given) so it can be passed explicitly via using.
Method to yield a Loggable[T] which depends only on the toString method. This method will be invoked explicitly where no other Loggable[T] is in scope. NOTE: kept as a plain def (not a given) so it can be passed explicitly via using.
Type parameters
- T
-
the underlying type of the required Loggable.
Attributes
- Returns
-
a Loggable[T].
Givens
Givens
Given instance of Loggable[Option[Int]].
Given instance of Loggable[Option[Int]].
Attributes
Given instance of Loggable[Option[String]].
Given instance of Loggable[Option[String]].
Attributes
Given instance of Loggable[BigDecimal]. Renders via toString.
Given instance of Loggable[BigDecimal]. Renders via toString.
Attributes
Given instance of Loggable[BigInt]. Renders via toString.
Given instance of Loggable[BigInt]. Renders via toString.
Attributes
Given instance of Loggable[Boolean]. Renders via toString.
Given instance of Loggable[Boolean]. Renders via toString.
Attributes
Given instance of Loggable[Byte]. Renders via toString.
Given instance of Loggable[Byte]. Renders via toString.
Attributes
Given instance of Loggable[Double]. Renders via toString.
Given instance of Loggable[Double]. Renders via toString.
Attributes
Given instance of Loggable[Int]. Renders via toString.
Given instance of Loggable[Int]. Renders via toString.
Attributes
Given instance of Loggable[Long]. Renders via toString.
Given instance of Loggable[Long]. Renders via toString.
Attributes
Given instance of Loggable[Short]. Renders via toString.
Given instance of Loggable[Short]. Renders via toString.
Attributes
Given instance of Loggable[String]. Returns the string itself.
Given instance of Loggable[String]. Returns the string itself.
Attributes
Given instance of Loggable[Temporal]. Renders via toString.
Given instance of Loggable[Temporal]. Renders via toString.
Attributes
Given instance of Loggable[Unit]. Returns an empty string for any Unit value.
Given instance of Loggable[Unit]. Returns an empty string for any Unit value.
Attributes
Given instance of Loggable[Map[K, V]] for any K and V that are themselves Loggable.
Given instance of Loggable[Map[K, V]] for any K and V that are themselves Loggable.
Attributes
Given instance of Loggable[Option[Map[K, V]]] for any K and V that are themselves Loggable.
Given instance of Loggable[Option[Map[K, V]]] for any K and V that are themselves Loggable.