Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Myles committed Jan 7, 2012
1 parent 7305f17 commit c3179c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def enqueue(jobs, data = {})

def log(msg)
@@logger ||= proc { |m| puts "#{Time.now} :minion: #{m}" }
@@logger.info(msg)
@@logger.call(msg)
end

def error(&blk)
Expand Down

0 comments on commit c3179c9

Please sign in to comment.