ElasticSearchLogger
defaultTransformer(logData) ⇒ Object
Transformer function to transform log data as provided by winston into a message structure which is more appropriate for indexing in ES.
Kind: global function
Returns: Object - transformed message
| Param | Type | Description |
|---|---|---|
| logData | Object | |
| logData.message | Object | the log message |
| logData.level | Object | the log level |
| logData.meta | Object | the log meta data (JSON object) |