com.tersesystems.blindsight
This is a type class used to convert given types to Argument.
case class Person(name: String, age: Int) implicit val personToArgument: ToArgument[Person] = ToArgument { person => import net.logstash.logback.argument.StructuredArguments._ new Argument(keyValue("person", person.name)) }
the type to convert to Arguments
(Since version ) see corresponding Javadoc for more information.
This is a type class used to convert given types to Argument.
the type to convert to Arguments