toDatadogLog
function toDatadogLog( item, batch, options?): Record<string, unknown>;Defined in: src/sinks/datadog.ts:85
Map one item to a Datadog log object.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
item |
StreamItem |
batch |
StreamBatch |
options? |
Pick<DatadogSinkOptions, "service" | "source" | "hostname" | "tags" | "message"> |
Returns
Section titled “Returns”Record<string, unknown>