LoggableValuable

com.phasmidsoftware.number.algebra.core.Valuable.LoggableValuable
object LoggableValuable extends Loggable[Valuable]

Implicit object LoggableValuable provides a Loggable implementation for the Valuable type. This allows Valuable instances to be formatted as strings suitable for logging purposes.

The implementation utilizes the toString method of the Valuable instance to generate the log representation.

Attributes

Graph
Supertypes
trait Loggable[Valuable]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def toLog(t: Valuable): String

Generate a compact String without any newlines for t.

Generate a compact String without any newlines for t.

Value parameters

t

the given value to log.

Attributes

Returns

a String without newlines.