diff options
author | David Heinemeier Hansson <david@basecamp.com> | 2014-05-20 16:10:15 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@basecamp.com> | 2014-05-20 16:10:15 +0200 |
commit | a8cfb3d042239d968ce0f45e983783f3042ef883 (patch) | |
tree | 7563d2f45d411c27f620f7b1badfb8fd393834bc /lib/active_job/logging.rb | |
parent | 2d19c711d041dd955d3fcaf952d101df9241a65e (diff) | |
parent | a2650112d9971460b257dbe6d440e1641226a11e (diff) | |
download | rails-a8cfb3d042239d968ce0f45e983783f3042ef883.tar.gz rails-a8cfb3d042239d968ce0f45e983783f3042ef883.tar.bz2 rails-a8cfb3d042239d968ce0f45e983783f3042ef883.zip |
Merge pull request #46 from cristianbica/logging
Added logging capabilities
Diffstat (limited to 'lib/active_job/logging.rb')
-rw-r--r-- | lib/active_job/logging.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/active_job/logging.rb b/lib/active_job/logging.rb new file mode 100644 index 0000000000..0e994a8f54 --- /dev/null +++ b/lib/active_job/logging.rb @@ -0,0 +1,7 @@ +require 'active_job/log_subscriber' + +module ActiveJob + module Logging + mattr_accessor(:logger) { ActiveSupport::Logger.new(STDOUT) } + end +end |