trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

feat: let logger log when running outside of trigger.dev

Open capaj opened this issue 2 months ago • 0 comments

Is your feature request related to a problem? Please describe.

import { logger } from '@trigger.dev/sdk'

logger.info('Hello, world!')

does not output anything to the console when I run it with bun/node

Describe the solution you'd like to see

I would like it to log. That way I can still see the logs if I am running my trigger.dev code outside of trigger.dev env for any reason

Describe alternate solutions

I can create my own logger which wraps trigger logger, but that is extra work

Additional information

No response

capaj avatar Oct 12 '25 07:10 capaj