Class: Mnogootex::Log::Line

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

Overview

This data structure represents a log line. It can have a log #level along with its #text.

Instance Attribute Summary collapse

Instance Attribute Details

#levelSymbol

Returns the associated log level.

Returns:

  • (Symbol)

    the associated log level



12
# File 'lib/mnogootex/log/line.rb', line 12

Line = Struct.new(:text, :level)

#textString

Returns the contents of the line.

Returns:

  • (String)

    the contents of the line



12
# File 'lib/mnogootex/log/line.rb', line 12

Line = Struct.new(:text, :level)