Class: Mnogootex::Log::Matcher

Inherits:
Struct
  • Object
show all
Defined in:
lib/mnogootex/log/matcher.rb

Overview

This data structure represents a typology of log line chunks belonging to a given log #level. They start with a line matching #regexp and have a fixed #length.

Instance Attribute Summary collapse

Instance Attribute Details

#lengthInteger



15
# File 'lib/mnogootex/log/matcher.rb', line 15

Matcher = Struct.new(:regexp, :level, :length)

#levelSymbol



15
# File 'lib/mnogootex/log/matcher.rb', line 15

Matcher = Struct.new(:regexp, :level, :length)

#regexpRegexp



15
# File 'lib/mnogootex/log/matcher.rb', line 15

Matcher = Struct.new(:regexp, :level, :length)