Rails Logger

Rails makes use1 of the ActiveSupport::Logger class2 to write log information.

Rails.logger.debug "Person attributes hash: #{@person.attributes.inspect}"
Rails.logger.info "Processing the request..."
Rails.logger.fatal "Terminating application, raised unrecoverable error!!!"