WinstonLogger.redacter()
Home > @backstage/backend-app-api
> WinstonLogger
> redacter
Creates a winston log formatter for redacting secrets.
Signature:
static redacter(): {
format: Format;
add: (redactions: Iterable<string>) => void;
};
Returns:
{ format: Format; add: (redactions: Iterable<string>) => void; }