Skip to main content

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

ParameterTypeDescription
infowinston.Logform.TransformableInfo

Returns:

winston.Logform.TransformableInfo