tobi / delayed_job

Database backed asynchronous priority queue -- Extracted from Shopify
http://tobi.github.com/delayed_job
MIT License
2.15k stars 1.25k forks source link

Logger can be nil? #22

Closed jaggederest closed 9 years ago

jaggederest commented 14 years ago

Outside the context of a rails / merb app, the Delayed::Worker.logger can be nil.

It'd be nice to have a default logger, or at least pick up the rack logger if it's in use

I can create a patch for this, if there's interest.

jaggederest commented 14 years ago

Ah, insert foot in mouth, there's a 'say' method that will output unless quiet is set.