Sha256: bffa62db8205cdfbd935123d924d3c4d0b3f33ee6bf6e6ecaa1f39857222f76b
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true module Mnogootex module Log # 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}. # # @!attribute regexp # @return [Regexp] the regexp to match the first line # @!attribute level # @return [Symbol] the associated log level # @!attribute length # @return [Integer] the number of matched lines Matcher = Struct.new(:regexp, :level, :length) # rubocop:disable Lint/StructNewOverride end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mnogootex-2.0.0 | lib/mnogootex/log/matcher.rb |
mnogootex-1.1.0 | lib/mnogootex/log/matcher.rb |