tuil
ReferencePackages@mwillbanks/tuil-loggingAPI

LogEnricher

interface exported by @mwillbanks/tuil-logging.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-logging.

export interface LogEnricher {
  readonly id: string;
  enrich(record: LogRecord): LogRecord;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
enrich(record: LogRecord) => LogRecordYesThe enrich 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