signature

fun signature(tag: String, message: String): String(source)

Collapses a log line into a throttling signature.

The message prefix is what distinguishes one call site from another; the tail usually carries the variable part (a device address, an elapsed time) that would otherwise make every occurrence unique.