LogRedactor

Redacts tokens, passwords, and phone numbers from log strings before they are written.

Functions

Link copied to clipboard
fun redact(message: String): String

Returns message with any token/password/secret/bearer values and phone numbers masked.