redactWinstonLogLine()
Home > @backstage/backend-common
> redactWinstonLogLine
A winston formatting function that finds occurrences of filteredKeys and replaces them with the corresponding identifier.
Signature:
function redactWinstonLogLine(info: winston.Logform.TransformableInfo): winston.Logform.TransformableInfo;
Parameters
Parameter | Type | Description |
---|---|---|
info | winston.Logform.TransformableInfo |
Returns:
winston.Logform.TransformableInfo