ApiStudioRedactor typedef

ApiStudioRedactor = ApiLogEntity Function(ApiLogEntity log)

Signature of a custom redaction hook.

Receives a log that has already been processed by the built-in header / body-key redaction and must return the (possibly modified) log that will be stored locally, uploaded, and used for exports.

Implementation

typedef ApiStudioRedactor = ApiLogEntity Function(ApiLogEntity log);