typeshare
typeshare copied to clipboard
Decorator to redact Kotlin toString
Adds a Kotlin-language specific decorator in order to generate a custom toString function on data classes where all the field data removed. This is a guard to avoid potentially leaking sensitive data to logs via the default toString function.