[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.