Class: RequestLogAnalyzer::FileFormat::RailsDevelopment

Inherits:
Rails
  • Object
show all
Defined in:
lib/request_log_analyzer/file_format/rails_development.rb

Overview

The RailsDevelopment FileFormat is an extention to the default Rails file format. It includes all lines of the normal Rails file format, but parses SQL queries and partial rendering lines as well.

Constant Summary

Constants inherited from Rails

RequestLogAnalyzer::FileFormat::Rails::LINE_COLLECTIONS, RequestLogAnalyzer::FileFormat::Rails::LINE_DEFINITIONS, RequestLogAnalyzer::FileFormat::Rails::RAILS_21_COMPLETED, RequestLogAnalyzer::FileFormat::Rails::RAILS_22_COMPLETED, RequestLogAnalyzer::FileFormat::Rails::REQUEST_CATEGORIZER

Constants included from CommonRegularExpressions

CommonRegularExpressions::TIMESTAMP_PARTS

Constants inherited from Base

Base::Request

Instance Attribute Summary

Attributes inherited from Base

#line_definitions, #report_trackers

Class Method Summary collapse

Methods inherited from Rails

report_trackers

Methods included from CommonRegularExpressions

#anchored, #hostname, #hostname_or_ip_address, #ip_address, #timestamp

Methods inherited from Base

#captures?, format_definition, #initialize, line_definer, line_definition, #line_divider, #max_line_length, #parse_line, report, report_definer, #request, #request_class, #setup_environment, #valid_line_definitions?, #valid_request_class?, #well_formed?

Methods included from ClassLevelInheritableAttributes

#inheritable_attributes, #inherited

Constructor Details

This class inherits a constructor from RequestLogAnalyzer::FileFormat::Base

Class Method Details

.createObject



6
7
8
9
# File 'lib/request_log_analyzer/file_format/rails_development.rb', line 6

def self.create
  # puts 'DEPRECATED: use --rails-format development instead!'
  super('development')
end