Closed AlexBroadbent closed 1 year ago
Try adding the level to stream object also
const streams = [
{ level: 'debug', stream: process.stdout },
{
level: 'debug',
stream: datadog.createWriteStreamSync({
apiKey: process.env.DD_API_KEY,
ddtags: `env:${process.env.NODE_ENV}`,
eu: true,
});
}
];
Before you submit an issue we recommend you first check if an existing issue does not already exist.
Please read this entire template before posting any issue. If you ignore these instructions and post an issue here that does not follow the instructions, your issue might be closed.
🐛 Bug Report
Using
log.debug({ object }, "Debug message");
does not send into DatadogTo Reproduce
Steps to reproduce the behavior:
Paste your code here:
Expected behavior
A clear and concise description of what you expected to happen.
Paste the results here:
A message in Datadog with:
Your Environment