com.tersesystems.blindsight
Type class for mapping to a Statement.
Statement
case class Person(name: String, age: Int) implicit val personToStatement: ToStatement[Person] = ToStatement { person => Statement(markers = Markers.empty, message = Message("Person({}, {})"), arguments = Arguments(person.name) + person.age, throwable = None) }
the type to convert to a Statement
(Since version ) see corresponding Javadoc for more information.
Type class for mapping to a
Statement
.the type to convert to a
Statement