Skip to content
Contents

Logging

You can enable logging in queues by setting the logging option as true.

Logs will be written to the console.

typescript
const storage = new InMemoryJobStorage({
      logging: true // Set this as true for the loggin in the storage
});

const queue = new JobQueue(storage, {
    concurrency: 1,
    name: "test-queue",
    processingInterval: 20,
    logging:true // Set this as true for the logging.
});