Class: RailsStdoutJsonLogging::Rails3

Inherits:
Rails
  • Object
show all
Defined in:
lib/rails_stdout_json_logging/rails3.rb

Class Method Summary collapse

Methods inherited from Rails

heroku_stdout_logger, log_level

Class Method Details

.set_logger(config) ⇒ Object



5
6
7
8
# File 'lib/rails_stdout_json_logging/rails3.rb', line 5

def self.set_logger(config)
  super()
  ::Rails.logger = config.logger = heroku_stdout_logger
end