discontinuedPackage fluttersdk_telescope has been discontinued and replaced by crumbs.

redactor property

String Function(String)? redactor
getter/setter pair

The host's text redactor, or null while none is registered.

When set, the store runs it over every text the log, event, exception and HTTP records carry (message, error, stack, URL, header values, bodies, and every String and map key inside an event payload's nested Maps and Lists) before the record enters its queue or its stream, and marks the record redacted. It receives one String and returns the masked one; it must be pure and total, since a throw drops the record (neither buffered nor emitted) rather than let it through unmasked. A record buffered while this is null stays unredacted, and a consumer that persists records writes only the redacted ones.

Implementation

static String Function(String)? redactor;