Sha256: 39394a2af008a6691019161a00339d03f31dabc95f54976a33da462b9fe049a3

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module Mnogootex
  module Log
    # This data structure represents a log line.
    # It can have a log {level} along with its {text}.
    #
    # @!attribute text
    #   @return [String] the contents of the line
    # @!attribute level
    #   @return [Symbol] the associated log level
    Line = Struct.new(:text, :level)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mnogootex-2.0.0 lib/mnogootex/log/line.rb
mnogootex-1.1.0 lib/mnogootex/log/line.rb
mnogootex-1.0.1 lib/mnogootex/log/line.rb
mnogootex-1.0.0 lib/mnogootex/log/line.rb