Class: Racknga::ReversedNginxAccessLogParser
- Inherits:
-
NginxAccessLogParser
- Object
- NginxAccessLogParser
- Racknga::ReversedNginxAccessLogParser
- Defined in:
- lib/racknga/nginx_access_log_parser.rb
Constant Summary
Constants inherited from NginxAccessLogParser
NginxAccessLogParser::BODY_BYTES_SENT, NginxAccessLogParser::HTTP_REFERER, NginxAccessLogParser::HTTP_USER_AGENT, NginxAccessLogParser::LOG_FORMAT, NginxAccessLogParser::REMOTE_ADDRESS, NginxAccessLogParser::REMOTE_USER, NginxAccessLogParser::REQUEST, NginxAccessLogParser::REQUEST_TIME, NginxAccessLogParser::RUNTIME, NginxAccessLogParser::STATUS, NginxAccessLogParser::TIME_LOCAL
Instance Method Summary collapse
-
#initialize(line_reader) ⇒ ReversedNginxAccessLogParser
constructor
A new instance of ReversedNginxAccessLogParser.
Methods inherited from NginxAccessLogParser
#each, #parse_line, #parse_time_local
Constructor Details
#initialize(line_reader) ⇒ ReversedNginxAccessLogParser
Returns a new instance of ReversedNginxAccessLogParser.
95 96 97 |
# File 'lib/racknga/nginx_access_log_parser.rb', line 95 def initialize(line_reader) @line_reader = ReverseLineReader.new(line_reader) end |