TransportOptions interface
One transport declaration — the shape of each element in the LOGGER_TRANSPORTS JSON array.
Signature:
export interface TransportOptions
Example
{
"type": "http",
"options": {
"ssl": true,
"port": 443,
"host": "http-intake.logs.datadoghq.com",
"path": "/v1/input/<API_KEY>"
},
"enabled": true
}
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean |
Whether to attach this transport. A | ||
|
LoggerOptions |
Options handed to the winston transport constructor — | ||
|
string |
Which transport to create: |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.