tuil
ReferencePackages@mwillbanks/tuil-loggingAPI

LogRedactor

interface exported by @mwillbanks/tuil-logging.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-logging.

export interface LogRedactor {
  readonly id: string;
  redact(record: LogRecord): LogRecord;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
redact(record: LogRecord) => LogRecordYesThe redact member uses the (record: LogRecord) => LogRecord contract.LogRecord

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-logging

On this page