StringifingConverter

Hierarchy

  • StringifingConverter

Implements

Index

Methods

Methods

convertArguments

convertArguments(entry: winston.LogEntry | LogEntry, options?: LogTransportConfig): string

Implementation of LogConverter

Converts additional logged arguments('rest').

Parameters:

NameTypeDescription
entrywinston.LogEntry | LogEntryWinston's or Eveble's instance implementing LogEntry interface.
options?LogTransportConfigLogTransportOption instance.

Returns: string

String representation of 'rest' arguments from LogEntry.


convertMetadata

convertMetadata(metadata: LogMetadata, entry: winston.LogEntry | LogEntry, options: LogTransportConfig): string

Implementation of LogConverter

Converts log metadata to string.

Parameters:

NameTypeDescription
metadataLogMetadataLogMetadata instance.
entrywinston.LogEntry | LogEntryWinston's or Eveble's instance implementing LogEntry interface.
optionsLogTransportConfigLogTransportOption instance.

Returns: string

String representation of log metadata item.