StringifingConverter
Hierarchy
- StringifingConverter
Implements
- LogConverter
- LogConverter
Index
Methods
Methods
convertArguments
▸ convertArguments(entry
: winston.LogEntry | LogEntry, options?
: LogTransportConfig): string
Implementation of LogConverter
Converts additional logged arguments('rest').
Parameters:
Name | Type | Description |
---|---|---|
entry | winston.LogEntry | LogEntry | Winston's or Eveble's instance implementing LogEntry interface. |
options? | LogTransportConfig | LogTransportOption 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:
Name | Type | Description |
---|---|---|
metadata | LogMetadata | LogMetadata instance. |
entry | winston.LogEntry | LogEntry | Winston's or Eveble's instance implementing LogEntry interface. |
options | LogTransportConfig | LogTransportOption instance. |
Returns: string
String representation of log metadata item.