LogEnricher
interface exported by @mwillbanks/tuil-logging.
interface
Public interface exported by @mwillbanks/tuil-logging.
export interface LogEnricher {
readonly id: string;
enrich(record: LogRecord): LogRecord;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
id | string | Yes | The id member uses the string contract. | — |
enrich | (record: LogRecord) => LogRecord | Yes | The 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.
Related types
Source
View the secondary source reference