Flowdock
method

log_to_stdout

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: Rails::Server
log_to_stdout() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/server.rb, line 138
      def log_to_stdout
        wrapped_app # touch the app so the logger is set up

        console = ActiveSupport::Logger.new($stdout)
        console.formatter = Rails.logger.formatter
        console.level = Rails.logger.level

        Rails.logger.extend(ActiveSupport::Logger.broadcast(console))
      end
Register or log in to add new notes.