Sha256: 73bdb5ec11497e9688a5444e6215e99c6cb9e631968934ae6316e56b8572b1f1

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

#!/usr/bin/env ruby

require 'log_line_parser'
require 'log_line_parser/utils'

# MoeLogParser is added from the personal needs of the original author,
# and the LogFormat for it is not a widely used format.
# You may remove this file if you don't need it.
# (MOE is the acronym of the organization's name for which the author
# is working at the time of the first release of this program.)

module LogLineParser
  # CombinedLogFormat + "%D"
  MoeLogFormat = "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D"
  MoeLogParser = parser(MoeLogFormat)
  PREDEFINED_FORMATS['moe'] = MoeLogParser
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
log_line_parser-0.1.0 lib/log_line_parser/moe.rb