triggerdotdev / trigger.dev

Trigger.dev is the open source background jobs platform for TypeScript.

Home Page:https://trigger.dev/changelog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[TRI-2668] logger.trace should have the output as attributes

matt-aitken opened this issue · comments

If you return data from logger.trace it should appear in the OTEL attributes from the span.

const bar = await logger.trace('key', async() => { return foo });

The same as we do for attempts.

TRI-2668